0

This is second attempt at the same question. My original question has been marked as duplicate but it is not, there is not one answer on the Stackoverflow portal that answers my question.

Is it possible to change the color of the selected text in VS Code? Selecting selection/highlight background color is great but it does not always work since different words are colored differently depending on whether they are comments or special words for any given language. I would love to be able to have a uniform approach to how words are colored when they are selected regardless of whether they are special words/comments/code. etc. enter image description here

In the above example the highlighted word "off" is not readable in the section where it is part of a comment due to the fact that comments font color is green.

Rafal
  • 11
  • 1
  • 7
  • you can customize any workbench and editor color (TextMateScope), there are a LOT of Questions/Answers about that here at SO – rioV8 Jan 22 '22 at 19:05
  • Perhaps that is the way to do it. I don't really want to change my colors to fit the text highlighting settings, – Rafal Jan 23 '22 at 22:51

1 Answers1

0

Maybe you can benefit from the information available in this post:

walgab
  • 36
  • 3
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jan 23 '22 at 20:26
  • Thanks, this is related to the background of the highlighted text. What I want to change is the color of the highlighted text itself, not just the background. – Rafal Jan 23 '22 at 22:53
  • Ohh, yes, I see. I guess you could try with the suggestion from @rioV8. – walgab Jan 27 '22 at 16:36