chrmarti / testissues

2 stars 3 forks source link

Syntax Highlighting is thrown off in v1.43 #3485

Open vscodebot[bot] opened 4 years ago

vscodebot[bot] commented 4 years ago

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