Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Sonar Colorizer
Sonar Colorizer

Sonar Colorizer

LinkingMountains

|
82 installs
| (1) | Free
A semantic syntax classifier extension based on Roslyn for C# and Visual Basic.
Download

Semantic Syntax Colorizer

A Visual Studio 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.

Sonar Colorizer is a fork of the original (archived) Semantic Colorizer project.

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)
  • Normal types

The code is fairly simple, but it is not currently written using the Async APIs in Roslyn.

This extension works for Visual Studio 2017 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 types class, enum, delegate etc.

Example in Dark Mode combined with Viasfora SemanticColorizerExample.png

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft