A Visual Studio 2015, 2017, 2019 and 2022 editor extension for semantic syntax highlighting.
It uses the Roslyn APIs to highlight the following syntax types in distinctive colors to make them easily recognizable.
To change the colors use the regular Visual Studio "Font and Colors" Options. Look for Semantic *
in the "Display items".
- Class fields
- Enum fields
- Static methods
- Regular methods
- Constructors
- Type parameters
- Parameters
- Namespaces
- Class properties
- Local variables
- Special types (built in)
The code is fairly simple, but it is not currently written using the Async APIs in Roslyn.
This extension works for the first final version of Visual Studio 2015 and all successors.
You might want to combine this extension with:
- Viasfora - color access modifiers, control flow
- Build in
User Types - *
Display Items - to change color for regular typesclass
,enum
,delegate
etc.
Apache License Version 2.0 See LICENSE file for more details
If you like this project give it a star. If you don't like it or found a bug, please write an issue.