I’m somebody that likes good highlighting, but I’m also indecisive on colour-schemes, I’ve tried many but looking for some new ones..
What’s everyone’s favourite Theme for their chosen language?
Install the Color Theme Designer from the marketplace:https://marketplace.visualstudio.com/items?itemName=idex.colorthemedesigner2022.
This will provide a new project type (File -> New) called VS Theme Project. You can then copy whatever .vstheme file you want into the project (after you've removed the file added by the project template). When you build, your theme will be in the bin folder and you can install it.
Well, if someone else wants to do this. Because there is no way to add a *.vstheme file directly but using the extensions for VS. I have cloned the Mads Kristensen repository for one of his themes and placed my own.
- Install VS2022 extensibility
- Clone https://github.com/madskristensen/BlueColorTheme
- Open the project and replace the *.vstheme file with yours
- Compile the project and go to bin/release and install the extension *.vsix
it seems to work after using admin privileges on "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Platform" even though that makes no sense. fixed.
For me, the issue was that at some point VS had disabled all of my themes as extensions.
Run VS as admin, open the extension manager, and you should be able to see the themes installed, just disabled. You can then re-enable them and they will appear like they're supposed to.
You will need to restart VS for changes to apply.