microsoft / microsoft/TypeScript-TmLanguage

Syntax highlighting incorrect in TS

Open
#691 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

limitation
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.