microsoft / microsoft/vscode-css-languageservice
parseStylesheet doesn't include the right end property of the stylesheet node
Open
@aeschli is already working on this.
Since Feb 26, 2018.
feature-request
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 217
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
Description
Take this content
.bar {
op0.1
}
At the end of op0.1, the offset is 14
But the cssParser parses the stylesheet and sets the end of the stylesheet node with 12 instead of 14
The context here is that op0.1 is a valid emmet abbreviation and emmet completions fails at this point as the offset is greater than the node(stylesheet)'s end property
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.