Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to have ReSharper like syntax highlighting without ReSharper

How do I change the color of my properties and methods to be like those with the ReSharper plugin? I can't find option in Visual Studio > Options > Font and Colors to change these.

Syntax highlighting with ReSharper

like image 472
Boško Bezik Avatar asked Mar 06 '23 16:03

Boško Bezik


1 Answers

You can't change the default C# property and method highlighting normally. You can do it by installing an extension though. I recommend you to download and install SemanticColorizer by Andreas Reischuck.

After installing go to Tools > Options > Environment > Fonts and Colors. In the drop-down select the TextEditor and under display items look for the ones that start with "Semantic". Customize these to your desirable color scheme.

If you specifically want the ReSharper syntax highlighting, set the "Semantic Property" RGB: (237, 124, 201) and "Semantic Normal Method" RGB: (0, 234, 234). Voilà! You have your ReSharper look and feel.


Also thanks to AlexK. for mentioning CoCo by George Aleksandria and Visafora. You can use these extensions as well to achieve the same result.

like image 94
Boško Bezik Avatar answered Apr 28 '23 20:04

Boško Bezik