For myself, I wrote a simple, easy “editor classifier extension” for Visual Studio based on Roslyn's asynchronous APIs before syntax highlighting user tags in C # and Visual Basic .
It has syntax highlighting for:
- " Events "
- " Fields "
- " Fields (constant) "
- " Fields (Inside Enums) "
- " Local variables "
- " Methods "
- " Methods (Extension) "
- " Methods (static) "
- " Namespaces "
- " Options "
- " Properties "
Syntax may appear in the future for something else.
You can install this extension from the Visual Studio Marketplace by following the link below:
Download: " Improved syntax highlighting ."
You can change the syntax highlighting settings by choosing Tools > Options > Environment > Fonts & Colors > Text Editor and scrolling to properties starting with the prefix " User Labels -... ".
syntax highlighting for Classes , Delegates , Enumerations , <Strong> Interfaces, Modules , Structures , and Type Parameters are below, they have the prefix " User Types -... " and are built-in default.
Good luck.
source share