microsoft / microsoft/vscode-css
lvmax, svmax, lvmin and svmin CSS units are not being highlighted
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 27
- Forks
- 25
- Avg merge
- 3d 19h
- Merged PRs (30d)
- 2
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: Version: 1.100.2
- OS Version: MacOS 15.4
Steps to Reproduce:
- Create a .css file
- Use the lvmax, svmax, lvmin or svmin units.
- The regular vmax and vmin units are being highlighted properly, while these 4 are not.
...here you can see how it is not recognized as a valid unit and is just shown in white.
Contributor guide
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.
Research direction
Start with the CSS TextMate grammar in this repository and compare how the existing vmax and vmin units are recognized. Reproduce the issue in a .css file using lvmax, svmax, lvmin, and svmin; it is done when all four units receive the same syntax highlighting as the recognized viewport units.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100