bearded-theme icon indicating copy to clipboard operation
bearded-theme copied to clipboard

TypeScript decorators are displaying incorrectly

Open DenisLutsky opened this issue 2 years ago • 3 comments

Starting from version 5.0.0 and higher typescript syntax highlighting works incorrect

version 4.0.0 image

version 7.5.0 image

DenisLutsky avatar Oct 19 '22 17:10 DenisLutsky

@DenisLutsky Are colors of "@" and decorator name were always the same before update? I decided to check other different themes and >50% of them also use different colors for @ and decorator name.

danulqua avatar Nov 02 '22 14:11 danulqua

The problem comes from the Semantic Tokens system, it's not very well done, it has some advantages, but it conflicts with the classic selection system, it's not obvious to overload it, I'll do my best

BeardedBear avatar Nov 03 '22 07:11 BeardedBear

@danil0110 I don't remember, but I think back then even the dafault theme was working like that. But what I can say for sure is this is the reason why I'm using this theme, because others do it in different colors, for me it more comfortable when it has one color.

DenisLutsky avatar Nov 03 '22 12:11 DenisLutsky