Repository navigation
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
Activity
alexr00 commentedon Mar 12, 2024
HTML ✅
alexr00 commentedon Mar 12, 2024
YAML⚠️
alexr00 commentedon Mar 12, 2024
XML ✅
alexr00 commentedon Mar 12, 2024
Groovy ✅
alexr00 commentedon Mar 12, 2024
Ini⚠️
alexr00 commentedon Mar 12, 2024
SCSS ❌
NullVoxPopuli commentedon Mar 18, 2024
handlebarscould probably be handled by https://github.com/ember-tooling/tree-sitter-glimmerKillyMXI commentedon Mar 18, 2024
Curiously, 2 of those that would be "less supported" with tree-sitter are fsharp and razor...
alexr00 commentedon Mar 20, 2024
I didn't find a razor grammar, but if I missed one then please let me know!
heartacker commentedon Mar 27, 2024
Alex Ross (@alexr00)
is this done