ThFriedrich / lammps_vscode

VSCODE extension for language support of LAMMPS scripts
https://thfriedrich.github.io/lammps_vscode/
GNU General Public License v2.0
44 stars 14 forks source link

Keywords highlighting not working #7

Closed arn-all closed 4 years ago

arn-all commented 4 years ago

For some reason, keywords highlighting stopped working, whilst comments and numbers are still correctly highlighted. I'll do more tests to try to find a workaround.

Version: 1.44.0 Commit: 2aae1f26c72891c399f860409176fe435a154b13 Date: 2020-04-08T11:22:13.689Z Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Linux x64 5.5.15-200.fc31.x86_64

ThFriedrich commented 4 years ago

Can you check what you get when you inspect the scope with the command Developer: Inspect Editor Tokens and Scopes as suggested here? image

arn-all commented 4 years ago

Using the tool helped me spot my problem. It's nothing about the extension. I was simply using the "atom material theme" for some time (can't remember when I switched), which for some reason shows the keywords white. I picked another one, now everything works fine.

I don't think we should worry too much about that, all other themes I had installed behave correctly.

ThFriedrich commented 4 years ago

So it seems to be a theming issue then? Should we close the issue is there anything we could/should do about it?

arn-all commented 4 years ago

Yes, nothing relevant for now

ZhiyingZHU commented 1 week ago

我还是没有解决这个问题,这个扩展突然就不能工作了