Skip to content

JS/TS semantic highlighting for keywords (readonly global vars)�?#42022

Closed
@a-ejs

Description

@a-ejs

TS Template added by @mjbvz

TypeScript Version: 4.1.2

Search Terms

  • semantic highlighting
  • constant
  • readonly

vscode 1.52.0

Code:

undefined;
Infinity;
NaN;

Result:

Semantic highlighting recolors Infinity and NaN from constant.language to variable.

Expected:

All three identifiers should be colored identically.

Metadata

Metadata

Labels

Fix AvailableA PR has been opened for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do thisRescheduledThis issue was previously scheduled to an earlier milestone

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions