DEV Community

Cover image for How to Change Text Color in Visual Studio Code in 2021 | VSCode Syntax Highlighting
HMA WebDesign
HMA WebDesign

Posted on

How to Change Text Color in Visual Studio Code in 2021 | VSCode Syntax Highlighting

Hi, in this tutorial you will be learn following!
How to change code color in VSCode in 2021?
How to change comment color in vs code?
How to change theme color in vs code in 2021?
How to change the theme in visual studio code?
How to change text color in visual studio code in 2021?
How do I change the color of text in Visual Studio?
how to modify vscode syntax highlighting?
How do you change the color of text in Visual Basic?
How do you change the font color in Vscode in terminal?
How to change VSCode theme color highlighting?
How to modify color settings in visual studio code?
How do you change the vscode highlight color?

Video Tutorial

Steps to change the color of the text in Visual studio Code:

  1. Start by opening any source code file.
  2. Open the Command Palette (Ctrl+Shift+P) and run the "Developer: Inspect Editor Tokens and Scopes".
  3. In this case, we notice it says "No theme selector." That means the tokenColors attribute of the theme is not setting this color, rather it is the ordinary colors attribute of the theme, specifically the editor. foreground color. This can be overridden as in Sean's answer by setting workbench.colorCustomizations in settings.json.
  4. After invoking that command, move the cursor to an identifier.
  5. Copy and paste this code in the settings.json section in your VSCode
  6. follow the steps in the video tutorial.

If you found this Tutorial helpful please like the video and SUBSCRIBE to this YouTube channel to watch more videos like that. What do you think about today's video topic? please share your thoughts and queries in the comments below!


Top comments (0)