adding-textmate-grammars

Community

TextMate grammar-based editor highlighting

Authormadskristensen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lightweight syntax highlighting for custom languages in Visual Studio extensions using TextMate grammars. It enables colorization, bracket matching, and basic editor support without writing a full MEF classifier.

Core Features & Use Cases

  • Lightweight, declarative grammar definitions via .tmlanguage, .json, or .plist files
  • Register grammars with a pkgdef and include them in a VSIX so VS can apply colorization to matching file extensions
  • Pair grammars with optional language-configuration.json for editor behaviors and with LSP where advanced IntelliSense is provided by a language server

Quick Start

Add your TextMate grammar to a VSIX project, register it with a languages.pkgdef, and include an optional language-configuration.json for editor behaviors.

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-textmate-grammars
Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#adding-textmate-grammars

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.