Vscode-powershell: Extension overrides other theme color settings

Created on 1 Mar 2021  路  2Comments  路  Source: PowerShell/vscode-powershell

It seems that the addition of the semantic highlighting is overriding theme preferences. In the attached example, you can see that parameters and function names are given color, when previously they were not (something I preferred). Is here a way to disable this feature? This extension was not set as my primary theme.

2021-02-28 20_30_58-Test ps1 - Untitled (Workspace) - Visual Studio Code
2021-02-28 20_30_08-Test ps1 - Untitled (Workspace) - Visual Studio Code

Most helpful comment

Closing, found the setting to be per theme. Once the theme maker opts-in to allowing semantic highlighting, users can disable it in settings.json. Sorry, I was not able to immediately find this information.

"editor.semanticTokenColorCustomizations": { "[One Dark Pro]": { "enabled": false } }

All 2 comments

Closing, found the setting to be per theme. Once the theme maker opts-in to allowing semantic highlighting, users can disable it in settings.json. Sorry, I was not able to immediately find this information.

"editor.semanticTokenColorCustomizations": { "[One Dark Pro]": { "enabled": false } }

Thanks for following up @timothyscottsmith, and no need to apologise. This information may help other users

Was this page helpful?
0 / 5 - 0 ratings