Microsoft/TypeScript

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

Open

#48,573 建立於 2022年4月5日

在 GitHub 查看
 (1 留言) (2 反應) (1 負責人)TypeScript (6,726 fork)batch import
Experience EnhancementHelp WantedSuggestion

倉庫指標

Star
 (48,455 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 9 個 PR)

描述

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.

貢獻者指南