Microsoft/TypeScript

[semantic] [typescript] No special highlighting for the 'this' parameter

Open

#48.573 geöffnet am 5. Apr. 2022

Auf GitHub ansehen
 (1 Kommentar) (2 Reaktionen) (1 zugewiesene Person)TypeScript (6.726 Forks)batch import
Experience EnhancementHelp WantedSuggestion

Repository-Metriken

Stars
 (48.455 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (9 gemergte PRs in 30 T)

Beschreibung

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.65.0
  • OS Version: macOS 12.2.1

What's wrong: The typescript semantic highlighter is currently highlighting the special 'this' parameter of function types/declarations the same as any other normal parameter.

Expectation: I would expect the 'this' keyword to be highlighted as a keyword.

Possible Solutions: Make the keyword token type "thisParameter" or add a modifier to it.

Contributor Guide