Markdown All in One Documentation
Guide
Contributing
Specifications
Management
Blog
Install open in new window
GitHub open in new window
Guide
Contributing
Specifications
Management
Blog
Install open in new window
GitHub open in new window

    Reporting issues

    • Creating an issue
    • Reporting a performance issue
    • Collecting diagnostic data

    Development

    • Contributing guide
    • Emoji
    • Commit message
    • Optimization tricks
    • Packaging
    • Test
    • TextMate grammar guide
      • Introduction
      • References
    • Localization

    Code style

    • File naming
    • TypeScript

    Documentation

    • Word choice
    • Writing style guide

# TextMate grammar guide

# Introduction

A TextMate language grammar ("TextMate grammar", or "TM grammar" in short) is a descriptive form of specifying tokenization rules, which was invented for the TextMate editor and has been adopted by numerous editors. It is a structured collection of Oniguruma regular expressions, and is typically written as a plist (XML) or JSON file.

# References

  • Writing a TextMate Grammar: Some Lessons Learned | Matt Neuburgopen in new window
  • Language Grammars | TextMate 1.x Manualopen in new window
  • Scope Selectors | TextMate 1.x Manualopen in new window
  • Regular Expressions | TextMate 1.x Manualopen in new window
  • Syntax highlighting | Visual Studio Code Extension APIopen in new window
  • vscode-textmateopen in new window
  • Onigurumaopen in new window
  • What is the difference between injections and injectionSelector in tmLanguage grammars? | Stack Overflowopen in new window
  • Injection Grammars & Project Variables | TextMate Newsopen in new window
  • Language Grammars | TextMate 2 Manualopen in new window
Edit this page open in new window

← Test Localization →