CodeGlyphCodeGlyph is a Visual Studio extension. It draws one subtle icon behind the code, at the right of each C# class, method and property. The icon shows what the symbol does, for example orders, email, queues or security. The icon is a reading guide. This project is vibed. Expect rough edges. Pull requests and bug reports are welcome. https://github.com/user-attachments/assets/8d75d32d-9804-46a0-9564-79297f83e0fe InstallInstall CodeGlyph from the Visual Studio Marketplace,
or open Extensions > Manage Extensions in Visual Studio and search for "CodeGlyph".
You can also download the VS Code versionThe folder vscode/ holds a VS Code extension. Install it from the Marketplace, or search for "CodeGlyph" in the Extensions view. It works with any language that has a language extension with symbols (TypeScript, Python, Go, Java, Rust, C# and more). It uses the same icon set, rules and cache design. See vscode/README.md. The Visual Studio extension in src/ stays C# only. Rules
How it works
Providers
Appearance optionsColor mode (theme, custom, by symbol kind, by icon), opacity, render style (outline, filled, duotone), stroke width, horizontal and vertical alignment, sticky or scrolling behavior, size limits, margins, and the symbol kinds to show. Similar toolsSo far, no other tool found draws a semantic icon per symbol behind the code. These tools are the closest. The status of each tool was not checked in detail. Background images in the editor (decoration, not meaning)
Semantic information in the editor (meaning, but not images)
Research
BuildRequirements: Visual Studio 2022 17.8 or later (its MSBuild builds the VSIX) and .NET SDK 10. The VSIX build tools come from NuGet, so the "Visual Studio extension development" workload is not required to build. It is required to debug in the experimental instance.
Build the VSIX with Visual Studio MSBuild (
The package is To test with a real provider, set Settings are in Tools > Options > CodeGlyph. Logs are in the Output window, pane "CodeGlyph". LicenseMIT. See Icon setIcons come from Lucide (ISC license). |