You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into a strange issue where syntax highlighting only contains keywords and primitives, rather than the rich semantic tokens I'm used to. Looking in the log, the request for textDocument/semanticTokens/full to JDT is failing for some reason over and over again. I've tested this in several versions of vscode over the last year, using several different versions of this extension, because it definitely was working relatively recently. I've also tested several versions of Java and the issue persists in all situations.
Environment
Operating System: Linux
JDK version: Several (OpenJDK 17.0.8.1 primarily)
Visual Studio Code version: Several (1.82.2 primarily)
Java extension version: Several (Both latest release and pre-release primarily)
I have no idea how this happened, but I figured out the problem for anyone with a similar issue. For some reason, it was my theme. It's important to mention that this was making code complete broken too, somehow during my update it duplicated one of my themes and made "Dark (Visual Studio) Visual Studio Dark" which looks identical to "Dark+ Default Dark+" except it breaks JDT somehow. I really don't want to know how a broken theme was created during an update and how it was breaking my semantic highlighting, but either way, I've resolved it.
I've run into a strange issue where syntax highlighting only contains keywords and primitives, rather than the rich semantic tokens I'm used to. Looking in the log, the request for
textDocument/semanticTokens/full
to JDT is failing for some reason over and over again. I've tested this in several versions of vscode over the last year, using several different versions of this extension, because it definitely was working relatively recently. I've also tested several versions of Java and the issue persists in all situations.Environment
Relevant extension log
Example missing advanced highlighting
The text was updated successfully, but these errors were encountered: