Search code examples
visual-studio-2019color-scheme

How to change color of access modifiers (private, public etc.) in Visual Studio 2019


I'm out of ideas. I tried almost all to change color of access modifiers in Visual Studio 2019, however non of my tries was successful. Via Tools-Options-Fonts and Colors-Text Editor I looked for any sign of that color, but no luck. Please, do you have any idea? Just for illustration, I'd like to change that "too gray" color of "private" access modifier. The same color is also in method declaration.

enter image description here

Thanks for any advice.


Solution

  • With few more research I have found solution. It may be useful for someone. If you have installed extension "Viasfora" in Tools-Options-Fonts and Colors-Text Editor look for key "Viasfora Visibility Keyword" which is by default dark gray, but with color modification you get exactly what I have been looking for. You can change color of all access modifiers.