microsoft / microsoft/vscode-css
Missing ending bracket textmate rule for css highlighting
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: 1.85.2
- OS Version: Linux x64 5.15.0-91-generic (Linux mint)
Steps to Reproduce:
- Write nested CSS rule
- Via command palette enable "Developer: Inspect Editor Tokens and Scopes"
- Try to browser the textmate for the closing curly brace.
Expected outcome:
TextMate rule for ending bracket exists (i.e punctuation.section.property-list.end.bracket.curly.css). Ending bracket can be customized.
Actual outcome:
TextMate rule for ending bracket does not exist (i.e punctuation.section.property-list.end.bracket.curly.css). Ending bracket cannot be customized.
Screenshots are attached
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
Reproduce the issue in VS Code with the CSS TextMate grammar and Developer: Inspect Editor Tokens and Scopes. Find the grammar entry point in this repository, compare the scopes for opening and closing curly braces, and verify that the closing brace exposes the expected ending-bracket scope and remains customizable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100