Skip to content

Allow interpolation coloring in template literal strings when using new JS/TS grammar #341

Closed
@waderyan

Description

@waderyan

From @zackschuster on November 3, 2016 16:18

  • VSCode Version: 1.7.0 (or pre-1.7 with new grammar extension)
  • OS Version: Windows 10

Steps to Reproduce:

  1. Write a template literal string with interpolation: `test ${var}`
  2. Before the new grammar was introduced, interpolation received special coloring
  3. Post new grammar, interpolation is colored the same as the rest of the string

Personally, I find this far less readable when scanning template strings; I have to look more carefully than before to pick out where I'm interpolating an expression. Is there a way we can return the old coloring while respecting the new design decisions behind the grammar rewrite?

Copied from original issue: microsoft/vscode#14917

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions