eclipse-xtext / eclipse-xtext/xtext
Clarification for TextMate grammar support
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 831
- Forks
- 330
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 12
Description
The release notes for Xtext 2.35 mention the following:
Initial Support for TextMate Grammars
The highly configurable
DetachableNodeModelFragmentcan be configured in the mwe2 workflow to emit textmate grammar to drive the lexical coloring in LSP clients that do have support for tm-language definitions.
However, I do not see any documentation about this, nor have I found any options in the source code of DetachableNodeModelFragment that allows me to emit a TextMate grammar.
Is there any resource I can use to see how to "configure the mwe2 workflow to emit textmate grammar"? How can this be achieved?
Contributor guide
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 the Xtext 2.35 release notes and DetachableNodeModelFragment; start by comparing that release-note claim with the fragment's available configuration and existing documentation. Verify the mwe2 workflow steps needed to emit a TextMate grammar, then document the supported setup and link it from the relevant release or feature documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100