Skip to content

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

@raptor494

Description

@raptor494

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.

Screen Shot 2022-04-05 at 1 25 00 PM

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions