microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.9k stars 29.52k forks source link

After configured `editor.tokenColorCustomizations` , editor rolling type perception error #232009

Open a81n9 opened 1 month ago

a81n9 commented 1 month ago

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

Steps to Reproduce:

After configured editor.tokenColorCustomizations , editor rolling type perception error

"editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": ["comment", "constant", "storage", "keyword", "function", "entity.name.type", "entity.name.function"],
        "settings": { "fontStyle": "italic" }
      }
    ]
  }

Gif example

Image

a81n9 commented 1 month ago

I found that this problem will only occur when the editor is split

https://github.com/user-attachments/assets/f3bb248a-c2fd-4641-bc73-b6ea8a5ee5b9