microsoft / microsoft/vscode-css-languageservice
Calc and var
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 217
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
Description
When you use a css variable inside a calc function, auto-completion doesn't wrap it in a var().
what visual studio does:
:root{
--heigth-of-viewport: 1vh;
--half-height: calc( --height-of-viewport / 2);
}
what should be
:root{
--heigth-of-viewport: 1vh;
--half-height: calc( var(--height-of-viewport) / 2);
}
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.