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

Inconsistent Syntax Highlighting for React #92316

Closed
ghost opened this issue Mar 10, 2020 · 3 comments
Closed

Inconsistent Syntax Highlighting for React #92316

ghost opened this issue Mar 10, 2020 · 3 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s) semantic-tokens Semantic tokens issues typescript Typescript support issues

Comments

@ghost
Copy link

ghost commented Mar 10, 2020

  • VSCode Version: latest
  • OS Version: Windows 10

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

image

For one reason or another, the syntax highlighting for JavaScript (Babel/React) looks fine up until the point when VS Code's TS/JS features initialize as indicated by a loader at the bottom toolbar. Once it starts up, however, I get this inconsistent syntax highlighting. In the One Dark theme all the imports should be red. In a separate instance, I had two imports of the same type (both named export functions) and one was red and one was blue. Regardless of the theme and even when I disable extensions I still see these inconsistencies. Any ideas how to fix it?

@MatiasOlivera
Copy link

Duplicate of #92308

@gjsjohnmurray
Copy link
Contributor

/duplicate thanks @MatiasOlivera

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 10, 2020
@vscodebot
Copy link

vscodebot bot commented Mar 10, 2020

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Mar 10, 2020
@aeschli aeschli added typescript Typescript support issues semantic-tokens Semantic tokens issues labels Mar 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) semantic-tokens Semantic tokens issues typescript Typescript support issues
Projects
None yet
Development

No branches or pull requests

3 participants