Description
Currently, we use textmate grammars for syntax highlighting. We get these grammars from other OSS projects, which let's us avoid becoming experts in every programming language that we support. Many of these OSS projects are no longer supported though, and we've had to take ownership of at least one of the grammars (css).
Tree-sitter appears to be popular right now for syntax highlight grammars, but before we consider adding support for tree-sitter grammars in VS Code, we should understand what grammars already have good tree-sitter support. In particular, the following textmate grammars have reached a dead-end and are particularly important to have support for in whatever syntax highlighting solution we support next:
Key:
✅ repo is very active
❌ no repo or no activity
- HTML ✅
- YAML
⚠️ - XML ✅, but unclear how much use the grammar gets
- Groovy ✅, but unclear how much use the grammar gets
- Ini
⚠️ - SCSS ❌
- Perl ✅
All other textmate languages
Summary:
10 will be more supported
5 will be less supported
5 will be equivalently unsupported