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

Test: Handling of unknown rules in CSS/SCSS/Less #52864

Closed
2 tasks
octref opened this issue Jun 26, 2018 · 0 comments
Closed
2 tasks

Test: Handling of unknown rules in CSS/SCSS/Less #52864

octref opened this issue Jun 26, 2018 · 0 comments

Comments

@octref
Copy link
Contributor

octref commented Jun 26, 2018

Complexity: 1

Test microsoft/vscode-css-languageservice#51.

Description: In CSS rules like @media are called at-rules. It's possible to use a pre-processor to define custom at-rules. Previously the parser fails and shows error. Now we handle it gracefully.

Test:

  • Syntax highlight is correct.
  • The parser do not show strange errors.
  • Completions inside the at-rule works fine.
  • The setting css.lint.unknownAtRules does what you expect it to do.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants