micro-editor / micro-editor/micro
[Suggestion]: Use TextMate grammar files for syntax highlighting
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
The current state of the syntax highlighting is mediocre at best, and terrible at worst
Given that the leading editor (VSCode) is using TextMate grammar, is it possible to 'swipe' their complex tmLanguage files to get much better highlighting?
Here is the vscode interpreter solution in javascript
it's neatly written and not hard to understand
https://github.com/microsoft/vscode-textmate
so it should be rewritten in go which while a big task im not certain it would be extremely comlicated
This is a huge request and may only stay as a 'nice to have' for maybe 2.0? 3.0?
In any case I wouldn't disregard this idea.
Specifications
You can use micro -version to get the commit hash.
Commit hash:
OS:
Terminal:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names microsoft/vscode-textmate as the reference implementation but does not name a micro file, test, or entry point. First inspect the existing syntax-highlighting implementation and compare it with the referenced JavaScript interpreter; the scope, compatibility plan, and validation criteria still need definition before completion can be judged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100