Reputation: 19776
Occurs when simply switching, or opening / closing a tab, and does not revert if "undoing" the tab change. Below gif's on a freshly reinstalled VSCode, though I didn't erase all cache, preferences, etc. when uninstalling.
What is the problem, and how to fix?
Upvotes: 2
Views: 2240
Reputation: 379
In my case, inverting screen colours would also switch VSCode colour theme back to Light High Contrast. I could alter these defaults by going to Settings
(⌘,
on mac) -> Workbench
-> Appearance
and changing the option under Preferred High Contrast Light Colour Theme
to what I wanted.
Upvotes: 0
Reputation: 7029
In my case, this was due to a rogue VSCode extension not behaving properly - disabling the BioSyntax extension fixed it.
If you're running into this issue but don't have that specific extension installed, it might be worth disabling all your extensions and see if that fixes it.
Upvotes: 6
Reputation: 19776
File -> Preferences -> Color Theme
apparently doesn't change global settings, nor do I know what exactly it changes - but I circumvented the problem by changing the "workbench.colorTheme"
and "theme-by-language.themes"
values in settings.json
to the same color theme name.
I found settings.json
via File -> Preferences -> Extensions -> JSON -> Edit in settings.json
Upvotes: 4