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 color highlight wrong #90184

Closed
dalisoft opened this issue Feb 6, 2020 · 3 comments
Closed

Syntax color highlight wrong #90184

dalisoft opened this issue Feb 6, 2020 · 3 comments
Assignees
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@dalisoft
Copy link

dalisoft commented Feb 6, 2020

  • VSCode Version: v1.42
  • OS Version: macOS 10.15.3

Steps to Reproduce:

  1. Open this file and go-to L459-486
  2. See how it's syntax highlight gets lost highlight after load

Screenshots:

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

@aeschli
Copy link
Contributor

aeschli commented Feb 7, 2020

Looks like an issue in the TypeScript Textmate grammar.

image

@aeschli aeschli assigned mjbvz and unassigned aeschli Feb 7, 2020
@JacksonKearl
Copy link
Contributor

minimal repro:

!/s?/
{ let foo; }

image
image

@mjbvz
Copy link
Collaborator

mjbvz commented Feb 7, 2020

Opened microsoft/TypeScript-TmLanguage#805 to track upstream

@mjbvz mjbvz closed this as completed Feb 7, 2020
@mjbvz mjbvz added grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Feb 7, 2020
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar javascript JavaScript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants