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 casting breaks syntax highlighting on Linux (Ubuntu 16.04) #3

Open
JoannaFalkowska opened this issue Mar 14, 2018 · 2 comments

Comments

@JoannaFalkowska
Copy link

JoannaFalkowska commented Mar 14, 2018

  • VSCode Version: 1.21.0
  • OS Version: Ubuntu 16.04 LTS

Steps to Reproduce:

  1. Use Typescript casting for any variable or value.
  2. Syntax highlighting breaks for the entire file from the moment casting was used. Image:

image

@lolmaus
Copy link

lolmaus commented Mar 4, 2020

Not sure if same issue or a different one.

Without the addon:

image

With the addon:

image

All my TypeScript highlighting is screwed up.

The largest and most important file in my project is not highlighted at all from the middle down.

@billdami
Copy link

Still noticing this as well, mainly when using newer TS syntax like foo?.bar optional chaining or ?? operators. After lines containing syntax like that, the highlighting is incorrect or completely absent for the rest of the file down.

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