A Visual Studio 2015 (vs14), 2017 (vs15) and 2019 (vs16) 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 Classifications.md.
Extension can apply the following decorations to analyzed elements:
- Changing foreground and background
- Changing font family
- Changing font styles and stretches
- Using bold font weight
- Changing font rendering size
- Using overline, underline, strikethrough and baseline font
supports the following analyze options of elements:
- Disable element classification at all
- Disable element classification in editor text
- Disable element classification inside xml doc comments in editor text
- Disable element classification in quick info tooltip
and can apply the chosen settings to:
- Editor text
- Quick info tooltip
The following screenshots show a different applying decorations and colors to the code:
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 below where code was colorized and decorate after applying the CoCo dark theme preset:
And you can look at the similar screenshot where code was colorized and decorate after applying another preset - CoCo light|blue theme:
For more information on project's changelog, please see ReleaseNotes.md
For more information on contributing to the project, please see CONTRIBUTING.md
CoCo is licensed under the MIT license