adding-editor-adornments

Community

Add editor adornments to Visual Studio.

Authormadskristensen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Adornments provide a way to render WPF UI elements directly on the Visual Studio text editor, enabling visual highlights, overlays, and inline decorations that reflect code state or metadata.

Core Features & Use Cases

  • Render editor adornments using the VSSDK in-process model via IWpfTextViewCreationListener and AdornmentLayer, enabling fast, integrated visuals on the code surface.
  • Create viewport-relative overlays or text-relative decorations to highlight specific code regions, display icons, or render custom visuals without modifying the source text.
  • Combine MEF-based components with proper asset declarations in the .vsixmanifest to ensure reliable loading and lifecycle management.

Quick Start

Open your Visual Studio extension project and implement an IWpfTextViewCreationListener to attach and render an adornment on the editor.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: adding-editor-adornments
Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#adding-editor-adornments

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.