-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax highlighting does not work for me #396
Comments
Can you add OS information as well as your VS code version ( |
Sent info via e-mail |
I'm seeing the same issue on my end. VS Code 1.48.2 x64 on Win10. |
I had the same problem for the syntax problem. I changed back to "Dark+ (Default dark)" theme and now it works for me. Does not work with any custom or marketplace themes for me. |
@blobbylight that's super helpful actually. Are these themes you made or one from the vs code marketplace? If it's the latter, can you give us their names so we can try to repro the issue? |
@majastrz I used slime from the marketplace and that one did not work. Slime (marketplace) - not working Light (visual studio) - not working to 100% some parameters are not highlighted |
Nice catch @blobbylight! I'm using this theme from the marketplace that doesn't work: Confirmed that it works in a bunch of standard VS Code themes but none of the custom ones. |
Thanks to @blobbylight for figuring this out! I believe we need to configure the following for this to work: |
@slavizh @blobbylight Some custom themes don't enable semantic syntax highlighting. You can override that for a specific theme with the following VSCode settings for now until we implement scope map: "editor.semanticHighlighting.enabled": true,
"editor.semanticTokenColorCustomizations": {
"[Atom One Dark]": {
"enabled": true
}
}
|
FYI, looks like this is being worked on for Atom One Dark here. I expect as more and more extensions take advantage of semantic colorization, it'll gain wider adoption across other themes. |
We think this will get better over time as more themes adopt semantic highlighting, and there is not much more we can do other than to auto-detect when this occurs. Closing for now. |
I have installed the bicep VSC extension but I do not see any highlighting.
What information you need to troubleshoot?
The text was updated successfully, but these errors were encountered: