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

The syntax highlighting for CSS is not working properly inside multiline strings #146146

Closed
guilhermenevesxyz opened this issue Mar 27, 2022 · 1 comment
Assignees

Comments

@guilhermenevesxyz
Copy link

This issue occurs when all the extensions are disabled.

Version info

  • VS Code Version: 1.65.2
  • OS Version: Windows 11 Pro Education 21H2

Steps to Reproduce

  1. Create a CSS file;
  2. Open it in VS Code;
  3. Use line-breaking syntax to separate a string into multiple lines (see example below);

Image illustrating the issue

See that after using that syntax for breaking the line, the syntax highlighting becomes messed up.

Note that this does not happen in other languages. Here is an example in C:

@aeschli
Copy link
Contributor

aeschli commented Mar 28, 2022

For CSS, we use the grammar from https://github.com/atom/language-css.
The issue has already been reported there: atom/language-css#181
Closing as duplicate.

@aeschli aeschli closed this as completed Mar 28, 2022
@github-actions github-actions bot locked and limited conversation to collaborators May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants