adding-editor-margins
CommunityAdd customizable editor margins in VS extensions
Software Engineering#margin#visual-studio#mef#vssdk#visualstudio-extensibility#remote-ui#glyph-margin
Authormadskristensen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Add custom margins to the Visual Studio text editor (gutter icons, side panels, bottom bars). Use when the user asks how to add a gutter, editor margin, side panel, bottom bar, line number gutter, custom glyph margin, or editor chrome. Covers VisualStudio.Extensibility (out-of-process), VSIX Community Toolkit (in-process), and legacy VSSDK (in-process) approaches.
Core Features & Use Cases
- Define an editor margin with Remote UI for out-of-process margins (VisualStudio.Extensibility).
- Support in-process margins via VSIX Community Toolkit and VSSDK, including left glyph margins.
- Ensure MEF asset declarations and proper margin provider registration for all three models.
Quick Start
Follow the approach you choose to implement and register a margin provider so it becomes visible with the editor.
Dependency Matrix
Required Modules
None requiredComponents
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-margins Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#adding-editor-margins Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.