adding-editor-classifiers
CommunityAdd custom syntax highlighting in VS extensions.
Authormadskristensen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Visual Studio extension development often requires custom text classification to colorize code and editor content, enabling clear semantics and improved readability for users.
Core Features & Use Cases
- Define custom classification types and formats (IClassifierProvider, ClassificationTypeDefinition, EditorFormatDefinition) to colorize tokens.
- Support multiple Visual Studio extension models (VisualStudio.Extensibility, VSIX Community Toolkit, VSSDK) to cover in-process and out-of-process scenarios.
- Use cases include highlighting keywords, comments, strings, and domain-specific tokens in custom languages or DSLs.
Quick Start
Export a classifier using IClassifierProvider and register MEF exports to enable syntax highlighting in editor buffers.
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-classifiers Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#adding-editor-classifiers 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.