Reputation: 17067
I want to change the selected text background highlight color in the vscode code editor.
The default seem to be some kind of light-blue for the selected word, and some kind of gray for the other words with same text.
How do I change the background color of these selected items?
For example, I would like the gray shade to be Goldenrod
(#FFDAA520
).
Upvotes: 3
Views: 2583
Reputation: 17067
I found it after a lot of trial & error:
"workbench.colorCustomizations": {
//"editor.findMatchHighlightBackground": "#DAA520",
//"editor.findRangeHighlightBackground": "#DAA520",
"editor.selectionHighlightBackground": "#DAA520",
//"editor.inactiveSelectionBackground": "#DAA520",
//"editor.findMatchBackground": "#DAA520",
}
Upvotes: 6