-
Notifications
You must be signed in to change notification settings - Fork 18
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
Some syntax causes broken highlight. #4
Comments
+1 same for me |
Same here. I think it's the |
@kennedyrose That's the same reason why this extension doesn't work with TypeScript, where we write styled jsx like this: <style jsx={true}>{...}</style> CC: @iFwu |
fixed |
Still experiencing this issue ("css`" causing all following code to be unhighlighted) with v1.0.0 installed in vs code on macOS Mojave. Have confirmed the version by running 'code --list-extensions --show-versions" in terminal, and it reports back "vscode-styled-jsx@1.0.0" Example screenshot attached |
Thanks iFwu. Anything I can do to help let me know, but haven’t had a chance to dig into the source to determine the issue, sorry! |
@readeral The Is the css here use styled-components? I see the syntax of styled-components is something like this. |
No not using styled-components, using Emotion.sh
…On Fri, 26 Oct 2018 at 8:52 pm, niceSprite ***@***.***> wrote:
@readeral <https://github.com/readeral> The "cssflex: 1;" doesn't match
the external styles <https://github.com/zeit/styled-jsx#external-styles>
rule in the styled-jsx. That's why the syntax highlight is broken.
Is the css here use styled-components? I see the syntax of
styled-components is something like this.
Maybe you can disable the extension in the workspace that use
styled-components syntax.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APKtiF8xOsyqA21ANsrA6RvOS7j1S6iMks5uottngaJpZM4Q-1Wz>
.
|
Confirmed that this extension breaks This only started happening for me on the May 2020 version of VS Code (version 1.46). See also: |
@karlhorky This is happening to me as well. I just disabled |
The text was updated successfully, but these errors were encountered: