microsoft / microsoft/vscode-css-languageservice
:not() CSS3 selector is misparsed
@aeschli is already working on this.
Since Aug 14, 2019.
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 217
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
Description
In VS Code, when editing a CSS file and hovering over a selector you can see an example of an element that would be matched. However, for :not(.class) situations, this example is wrong.
Correct behaviour: :not(.class) shows an example with the correct selector(:not(.class))
Current behaviour: A non-existent :not CSS selector is shown

Related issues: This might be related to #56, but :not() selectors are supported by ALL major browsers ( https://caniuse.com/#feat=css-sel3), making this more urgent
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.