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 / JavaScript syntax highlighting breaking in insiders after styled-components usage #811

Closed
dawsbot opened this issue Mar 22, 2020 · 2 comments

Comments

@dawsbot
Copy link

dawsbot commented Mar 22, 2020

  • VSCode Version: 1.44.0 insider
  • OS Version: MacOS Catalina 10.15.3

Steps to Reproduce:

  1. Open this gist as a "Typescript React" file
  2. Notice that beginning with the first styled call, all the syntax highlighting breaks. In my color-scheme, this is green:

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

image

Additional Information

@aeschli
Copy link

aeschli commented Mar 23, 2020

Thanks @dawsbot! Looks like a TypeScript grammar issue.

@mjbvz mjbvz transferred this issue from microsoft/vscode Mar 23, 2020
@mjbvz mjbvz unassigned aeschli and mjbvz Mar 23, 2020
@mjbvz
Copy link
Contributor

mjbvz commented Mar 23, 2020

Minimal repo using latest grammar:

const a = styled<{
    padding: string
}>`
	123
`;

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