Skip to content
| Marketplace
Sign in
Visual Studio>Tools>CodeGlyph
CodeGlyph

CodeGlyph

Joseph the Developer

|
4 installs
| (0) | Free
Draws one subtle icon behind each C# class, method and property. An AI model picks the icon from the name and comments. No icon is shown when no icon clearly fits.
Download

CodeGlyph icon

CodeGlyph

CodeGlyph 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.

CodeGlyph screenshot

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

Install

Install CodeGlyph from the Visual Studio Marketplace, or open Extensions > Manage Extensions in Visual Studio and search for "CodeGlyph". You can also download the .vsix file from the releases page.

VS Code version

The 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

  • The icon never covers code. If the free space is too small, CodeGlyph shows no icon.
  • A generic icon is worse than no icon. The model must answer "none" when it is not sure.
  • The model reads names and comments. It never reads method bodies.
  • CodeGlyph generates each icon on demand and keeps the answer in a cache. Equal symbols reuse the same icon in all files and solutions.

How it works

  1. Roslyn reads the syntax tree and builds a descriptor for each symbol. The descriptor holds the name, container, XML summary, comments, base types and attributes.
  2. The cache gives the answer if the descriptor is known.
  3. For unknown descriptors, one batch request goes to the LLM provider. The model picks one icon from the bundled Lucide set, or answers "none".
  4. A WPF adornment layer behind the text draws the icon. The color follows the editor theme.

Providers

Provider Needs
Claude API ANTHROPIC_API_KEY or a key in the options page
OpenAI OPENAI_API_KEY or a key in the options page
Claude Code CLI The claude command in PATH

Appearance options

Color 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 tools

So 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)

  • ClaudiaIDE: Visual Studio. Shows images behind the editor.
  • MoeIDE X: Visual Studio. Background image for the whole window.
  • SubfolderWatermarks: Visual Studio. Shows a text watermark over the editor for files in chosen project folders.
  • vscode-background: VS Code. Background image, in front of or behind the code.
  • KatsuteDev/Background: VS Code. Window and editor images.

Semantic information in the editor (meaning, but not images)

  • JetBrains gutter icons: icons for overrides, implementations and more.
  • CodeLens: text above symbols with references and implementations.
  • Visual Studio Inheritance Margin: inheritance glyphs in the glyph margin.
  • Moji: VS Code. Visual symbols for keywords.

Research

  • Helveg: glyph per code element in C# diagrams.
  • Visual augmentation of source code editors: survey of editor overlays.

Build

Requirements: 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.

dotnet test tests/CodeGlyph.Core.Tests

Build the VSIX with Visual Studio MSBuild (dotnet build cannot build it):

msbuild src/CodeGlyph.Vsix/CodeGlyph.Vsix.csproj /restore /p:Configuration=Release

The package is src/CodeGlyph.Vsix/bin/Release/net48/CodeGlyph.Vsix.vsix. Double-click it to install. To debug, open the solution in Visual Studio and press F5 on the CodeGlyph.Vsix project, or run devenv.exe /rootsuffix Exp.

To test with a real provider, set CODEGLYPH_LIVE to cli, anthropic or openai and run dotnet test --filter LiveSmoke.

Settings are in Tools > Options > CodeGlyph. Logs are in the Output window, pane "CodeGlyph".

License

MIT. See LICENSE. The Lucide icons keep their own ISC license in THIRD-PARTY-NOTICES.md.

Icon set

Icons come from Lucide (ISC license). tools/PackIcons packs them into src/CodeGlyph.Core/Resources/icons.json.gz. See THIRD-PARTY-NOTICES.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft