How to change the color of text selection in VS Code?

Asked

Viewed 3,250 times

0

In the image, the selected text is with black color, I want to put a lighter color.

print do visual studio code

  • Change the theme to one that you like. I don’t think you can change just one color, maybe with some extension

  • 1

    @Young costamilam has a way to change yes, it’s in the VS Code specification itself, then if you’re interested in taking a look at that list. https://code.visualstudio.com/api/references/theme-color#editor-Colors Usually everything that starts with editor. is referring to the area where we enter the code.

1 answer

5


You can customize it by getting into your Setting and putting that

"editor.selectionBackground": "#666",
"editor.selectionHighlightBackground": "#666",

#666 is the color, you can test a lighter color that pleases you...

inserir a descrição da imagem aqui

You enter the Configs here

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.