panda-syntax-vscode icon indicating copy to clipboard operation
panda-syntax-vscode copied to clipboard

新版本的TS类型可以改成用下划线或者斜体,来和普通变量区分吗?和字符串一样的颜色实在太糟糕了

Open sorry77 opened this issue 11 months ago • 2 comments

这么多年一直用这个配色,有点肌肉记忆,TS类型变成和字符串一样太难受了。

原本字符串是需要特别注意的,现在和TS类型混在一起没有区分度了。

建议保留原有颜色,增加下划线区分会更好一些,下划线可跳转的含义也对应类型的跳转查看。

sorry77 avatar Apr 10 '25 18:04 sorry77

Could you send me a screenshot of your problem?

siamak avatar Apr 10 '25 19:04 siamak

似乎是多年前的代码最近发布版本导致的。 https://github.com/tinkertrain/panda-syntax-vscode/blob/master/themes/panda-base.yaml

# -----------------------------------------------------------------------------
# Name of type (struct, class, etc.)
# -----------------------------------------------------------------------------
# Generic name of type match
- scope: entity.name.type
  settings:
    foreground: _green
    fontStyle: italic

这违背了项目中对于颜色的定义,我猜测这是无意的发布。 https://github.com/tinkertrain/panda-syntax-vscode/blob/master/Color%20Semantics.md

before:

Image

after: Image

version: Image

sorry77 avatar Apr 10 '25 21:04 sorry77