I'm using Windows 7 64-bit.
Is there a way to edit default dark theme in the Visual Studio Code? In %USERPROFILE%.vscode folder there are only themes from the extensions, while in installation path (I used default, C:\Program Files (x86)\Microsoft VS Code) there are files of some standard themes in \resources\app\extensions, like Kimbie Dark, Solarized Dark/Light or variants of Monokai, but there is no default dark theme.
But if after all there is a possibility to edit it, then which blocks of code are responsible for colour of member of object, member of pointer and name of class and structure in the C++ language?
You cannot "edit" a default theme, they are "locked in"
However, you can copy it into your own custom theme, with the exact modifications you'd like.
For more info, see these articles: https://code.visualstudio.com/Docs/customization/themes https://code.visualstudio.com/docs/extensions/install-extension#_your-extensions-folder
If all you want to change is the colors for C++ code, you should look at overwriting the c++ support colorizer. For info about that, go here: https://code.visualstudio.com/docs/customization/colorizer
EDIT: The dark theme is found here: https://github.com/Microsoft/vscode/tree/80f8000c10b4234c7b027dccfd627442623902d2/extensions/theme-colorful-defaults
EDIT2: To clarify:
There is now the option modify the current theme which will copy the current theme settings and let you save it as a
*.color-theme.json
JSON5 fileA much simpler way however would be to edit the user settings and customise
workbench.colorCustomizations
The docs now have a whole section about this.
Basically, use
npm
to installyo
, and run the commandyo code
and you'll get a little text-based wizard -- one of whose options will be to create and edit a copy of the default dark scheme.I had the same problem and after studying the whole issue, I wrote a guide explaining a bit how the VSC theming works and how to write one theme from scratch: https://medium.com/@caludio/how-to-write-a-visual-studio-code-color-theme-from-scratch-7ccb7e5da2aa
In VS code 'User Settings', you can edit visible colours using the following tags(this is a sample and there are much more tags),
If you want to edit some C++ color tokens, use the following tag,
in your VS Code:
Ctrl+K Ctrl+T