-
Notifications
You must be signed in to change notification settings - Fork 37.3k
Description
Hi 👋
I was recently following up an issue on a bug for an HTML syntax highlighting issue, and found out it was closed as waiting for upstream (TextMate bundle) to fix the issue.
There is this information for contributors above some language grammars that depend on TextMate bundles:
I wanted to inform that TextMate (and all of its grammar bundles are not being maintained anymore.
This is also copied from the WikiPedia of TextMate:
In October 2021, the latest/last commit was made to GitHub, though no announcement has been made to the effect that the project has been officially abandoned and its source code is still publicly available.
Here is a list of TextMate bundles Visual Studio Code depends upon and their latest update:
- YAML: https://github.com/textmate/yaml.tmbundle (6 years ago)
- XML: https://github.com/textmate/xml.tmbundle (6 years ago)
- ASP.VB: https://github.com/textmate/asp.vb.net.tmbundle (6 years ago)
- Ruby: https://github.com/textmate/ruby.tmbundle (3 years ago)
- Perl: https://github.com/textmate/perl.tmbundle (3 years ago)
- ini: https://github.com/textmate/ini.tmbundle (11 years ago)
- Groovy: https://github.com/textmate/groovy.tmbundle (10 years ago)
- Git: https://github.com/textmate/git.tmbundle (5 years ago)
- Diff: https://github.com/textmate/diff.tmbundle (8 years ago)
- c/cpp: https://github.com/textmate/c.tmbundle (4 years ago)
- HTML: https://github.com/textmate/html.tmbundle (3 years ago)
I don't necessarily mean they need active maintaining, but Visual Studio Code will miss language improvements and required bug fixes, and there will be lots of unnecessary housekeeping work required to clean up issues and PRs for those.
So with all that given, I believe it could be beneficial to developers using Visual Studio Code if we had an actively maintained language grammar.
I looked up to see if the same discussion is already open somewhere, but did not find any public discussion. The most similar, but still unrelated discussion was this:
which is looking for alternatives to TextMate; but for reasons other than the fact that TextMate is dead. (?)
Example Case
I was following up on this issue recently:
which later was closed as a duplicate of this issue in the upstream TextMate language grammar for HTML:
Which later I followed on more issues being closed as duplicate of the same issue:
- JavaScript string with a double slash in HTML attribute will display as a comment #105779
- Syntax Coloring Problem in Html Editor #105790
- Problem with HTML syntax highlighter #111394
- Unexpected scopes when grammar is embedded in HTML grammar. #112189
The issue is simply about a bug in HTML language grammar for event handler attributes. (which is not the topic here)
And there is a fix PR for it in the upstream repo:
and a closed PR (the same PR) in vscode repo:
All these issues/PRs all refer to the same bug and I used this bug only as an example. There are probably other issues with other grammar bugs here and there, which are probably open/closed without resolution because of the same reason.
