metals-vscode icon indicating copy to clipboard operation
metals-vscode copied to clipboard

Some of the keywords in the highlight are the wrong color

Open harry-xi opened this issue 6 months ago • 3 comments

Describe the bug

Process control keywords such as if match for are represented by the semantic token type as other making them highlighted as normal keywords, which is not in line with the general habits of vscode users.

To Reproduce Steps to reproduce the behavior:

1.Open a scala file with this plugin enabled and enter any statement of this type in it.

Expected behavior

Keywords such as if match for should be tagged with keyword.control

Screenshots

image

Installation:

  • Operating system: Windows
  • VSCode version: 1.91.1
  • VSCode extension version: 1.38.0
  • Metals version: 1.3.4

Search terms

harry-xi avatar Jul 26 '24 07:07 harry-xi