-
Notifications
You must be signed in to change notification settings - Fork 493
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
Version v2021.2.2 syntax highlighting is "poor" compared to previous version #3221
Comments
This is due to a change in the extension to use "semantic highlighting" in addition to (and on top of) the editor syntax provided by this repo. With the extension enabled, the highlighting scheme changes (and it appears to need some work). See some related discussion here: #3211 |
Please revert the previous syntax highlighting back or at least let us choose between the 2, after the update my code isn't readable. I tried all different kind of theme's but they are all broken now. |
You can disable it:
|
Thanks we will use this as the meta-issue for Semantic highlighting |
Following is partial copy from deleted post on another site btw., current behavior is... AHH Recently syntax highlighting of built in PowerShell symbols changed from blue to green. Here is how it looks now: It also messes up with non relevant coloring like EDIT: Sorry I missed workaround from @PrzemyslawKlys, but regardless this workaround should be default. |
It would be nice to be able disable semantic highlighting for PowerShell only. Right now I had to disable it as l dont like the way it displayed PowerShell code, but then every time I switch to JavaScript or another language I have to turn it back on. Its annoying to have to keep doing this. |
You can...
|
beautiful, thanks! |
Uh, we pinned this as the meta issue. Re-opening... |
Here's a solution without disabling I copied @LuluTchab 's screenshot for a comparison. I'm getting the diversity of the original. I'm using If you're using a different theme, you can fix it: "editor.semanticTokenColorCustomizations": {
// per-theme
"[Default Dark+]": {
"enabled": true,
"rules": {
"parameter": "#d4d4d4",
}
}, How to find token namesThe token inspector will give you |
Environment
Issue Description
Since the new extension for PowerShell was installed, the highliting became very "poor". Almost everything is now in blue and before there was white and yellow. Now, it's difficult to identify things... it's impossible to see when a function is called on an object and also when we access an object member. And it's also difficult to identify function parameter tags...
Screenshots
Expected Behavior
Previous version of the extension
Code Samples
Here's the code that is on the screenshots
The text was updated successfully, but these errors were encountered: