Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript decorators are displaying incorrectly #92

Open
DenisLutsky opened this issue Oct 19, 2022 · 3 comments
Open

TypeScript decorators are displaying incorrectly #92

DenisLutsky opened this issue Oct 19, 2022 · 3 comments

Comments

@DenisLutsky
Copy link

Starting from version 5.0.0 and higher typescript syntax highlighting works incorrect

version 4.0.0
image

version 7.5.0
image

@danulqua
Copy link

danulqua commented Nov 2, 2022

@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.

@BeardedBear
Copy link
Owner

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

@DenisLutsky
Copy link
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants