microsoft / microsoft/vscode-css-languageservice
[scss] (dart) sass module system parsing issues
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 217
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
Description
Steps to Reproduce:
- Write the following
@use "lib";
lib.$var: $other-var; // identifier expected @ $var
@if $condition {
lib.$var: $other-var; // colon expected @ . semicolon expected @ $other-var
} // atrule or selector expected
- Here be warnings warnings
Bullet 1 is probably related to, if not duplicate of, #224. I've not seen the second issue reported.
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.
Research direction
Start with the SCSS reproduction in the issue and inspect the language service's parser diagnostics for both module-variable assignments, including the case inside @if. Determine whether the behavior overlaps with #224; done means both examples parse without the reported diagnostics and have regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scss, typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100