@@ -23,22 +23,24 @@ PowerShell syntax highlighting is performed in combintation by the [PowerShell E
2323(semantic highlighting) and [ Editor Syntax] . Syntax highlighting for VS Code, Atom,
2424SublimeText and even GitHub is provided by the [ Editor Syntax] repository on GitHub.
2525
26- With the introduction of [ Semantic Highlighting] in [ v2021.2.2] , the chosen colors may be
27- different because this is applied at a layer above [ Editor Syntax] . To disable semantic
28- highlighting and so restore the colors as they were and rely solely on [ Editor Syntax] ,
29- set:
26+ We introducted [ Semantic Highlighting] in [ v2021.2.2] , a feature that applies tokenized
27+ colors at a layer above [ Editor Syntax] . However, after [ community feedback] [ #3221 ] and
28+ multiple bug reports (including colors changing unexpectedly and [ randomly] [ #3295 ] ), we
29+ have decided to disable it by default.
30+
31+ To enable semantic highlighting and use this "experimental" feature, set:
3032
3133``` json
3234"[powershell]" : {
3335 "editor.semanticHighlighting.enabled" : false
3436}
3537```
3638
37- If you leave it enabled , you can customize the colors used for the various
38- tokens. See [ # 3221 ] for more info and to leave suggestions.
39+ If you enable it, you can customize the colors used for the various tokens. See [ # 3221 ]
40+ for more info and to leave suggestions.
3941
40- If you disable it and your issue remains, then please open those [ syntax highlighting
41- issues there] .
42+ If it is disabled and your issue remains, then please open those syntax highlighting
43+ issues there in [ Editor Syntax ] .
4244
4345## Windows aren't appearing
4446
@@ -361,7 +363,6 @@ an issue on GitHub is appropriate.
361363[ open an issue there ] : https://github.com/PowerShell/PSScriptAnalyzer/issues/new/choose
362364[ open an issue on us on GitHub ] : https://github.com/PowerShell/vscode-powershell/issues/new/choose
363365[ Reporting Problems ] : ../README.md#reporting-problems
364- [ syntax highlighting issues there ] : https://github.com/PowerShell/EditorSyntax/issues/new
365366[ semantic highlighting ] : https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide
366367[ tackling an issue ] : ./development.md
367368[ v2021.2.2 ] : https://github.com/PowerShell/vscode-powershell/releases/tag/v2021.2.2
@@ -383,3 +384,4 @@ an issue on GitHub is appropriate.
383384[ #647 ] : https://github.com/PowerShell/vscode-powershell/issues/647
384385[ #984 ] : https://github.com/PowerShell/vscode-powershell/issues/984
385386[ #3221 ] : https://github.com/PowerShell/vscode-powershell/issues/3221#issuecomment-810563456
387+ [ #3295 ] : https://github.com/PowerShell/vscode-powershell/issues/3295
0 commit comments