microsoft / microsoft/TypeScript-TmLanguage
Syntax highlighting incorrect in TS
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 471
- Forks
- 149
- PR merge metrics
- No merged PRs in 30d
Description
Issue Type: Bug
In the following string '.label' get a wrong color:
Enter name of folder on "${host.label}"
VS Code version: Code - Insiders 1.30.0-insider (9878edb2a72ed4c4fd64811f9a58f06151810acf, 2018-11-30T06:12:07.006Z)
OS version: Darwin x64 18.0.0
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
Start by reproducing the reported TypeScript template-string highlighting for ${host.label} and inspect the repository's TextMate grammar files for the rule handling the interpolated expression. Done means .label receives the correct syntax color without regressing other property accesses; the issue does not name a test file, so verify the result in the affected editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100