A Visual Studio 2019 extension that is analyzing source code to colorize and decorate appropriate syntax nodes to different colors and different styles. It makes easily to read and understand sources, to find sought entities and to navigate by code.
Currently extension supports analyzing C#, VB.Net source codes. It's colorize and decorate a many semantic and language elements such as variables, methods, types, members, namespaces and many others. For more detailed list of supported items, please see classification list on home page.
Extension can apply the following decorations to analyzed elements:
supports the following analyze options of elements:
and can apply the chosen settings to:
The following screenshots show a different applying decorations and colors to the code:
How to use
In CoCo/General option page of the Visual Studio you can fully enable or disable editor and quick info classification:
In CoCo/Classifications you can manage all supported classifications.
In the Classifications tab you can set decorations and analyze options for classification item:
and in the Presets tab you can save your current settings from Classifications tab as preset and apply or delete existing presets:
You need to click OK button to confirm your changes on the all CoCo options pages. If you will not click the OK button extension will use the previous (or default) settings for all of pages. All settings are stored under %localappdata%\CoCo\.
Extension doesn't apply the one of default presets after the first installation on a system. Therefore, you need to set colors and decorations manually or apply existing presets as pointed out above. After updating extension to a new version it will use the stored settings files on your system if they exist otherwise you still need to apply some colors and decorations.
You can look at the screenshot where code was classified after applying the CoCo dark theme preset:
And you can look at the similar screenshot where code was classified after applying another preset - CoCo light|blue theme: