Highlight comments in *.feature files in green
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
### 🤔 What's the problem you're trying to solve?
We use comments to structure our scenarios. Unfortunately, they have no highlighting at all and are rather missed.
### ✨ What's your proposed solution?
Highlight them in green as it is usual in almost any editor.
### ⛏ Have you considered any alternatives or workarounds?
I tried to install other Gherkin highlighting extensions in addition to this extension, but then the highlighting of "undefined" steps would not work anymore.
I also tried to use the "Token inspector" on the comments to check if I can manually highlight them, but the inspector says `No grammar or semantic tokens available.` for comments.
### 📚 Any additional context?
_No response_
Contributor guide
Research direction
Start by locating the extension's grammar or semantic-token handling for comments in *.feature files; the issue notes that VS Code's Token inspector reports no grammar or semantic tokens for them. Verify the change in VS Code so comments appear green while highlighting for undefined steps still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100