/semantic-colorizer

A Visual Studio editor extension that uses the Roslyn APIs to enable semantic syntax highlighting.

Primary LanguageC#Apache License 2.0Apache-2.0

Semantic Syntax Colorizer

Visual Studio | Marketplace

A Visual Studio 2015, 2017 & 2019 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 sucessors.

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 types class, enum, delegate etc.

License

Apache License Version 2.0 See LICENSE file for more details

Contribute

If you like this project give it a star. If you don't like it or found a bug, please write an issue.