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

Syntax Highlighting is thrown off in v1.43 #3485

Open
vscodebot bot opened this issue Mar 12, 2020 · 0 comments
Open

Syntax Highlighting is thrown off in v1.43 #3485

vscodebot bot opened this issue Mar 12, 2020 · 0 comments

Comments

@vscodebot
Copy link

vscodebot bot commented Mar 12, 2020

  • VSCode Version: 1.43
  • OS Version: macOS Catalina

Steps to Reproduce:

  1. Simply use VS Code v1.43
  2. The syntax highlighting seems to have a weird mixup with token hierarchies. First render, it shows everything just fine, but after a few seconds, the colors trip up. I downgraded to the January 2020 v1.42 for now, and it all works as expected in that version.

I'm not sure if this behavior was intended, since it colors functions and classes being imported as functions and classes instead of variables. It SEEMS to have some logic to it. However, I would prefer to color a function as a function only when it is being defined or called, not when it is being imported or assigned to a key in an object. Same thing goes for classes. But the oddity is the fact that the colors change a few seconds after opening or reloading the window.

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

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

No branches or pull requests

0 participants