microsoft / microsoft/vscode-css-languageservice
Adding values and functions to custom data
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 384
- Forks
- 217
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 14
Description
Adding custom values and functions to custom data would make it easier and more maintainable to have a richer editor experience for these tokens.
For PostCSS specifically it is not possible to create a general purpose language extension that covers all possible custom additions. Every user's collection of plugins is a bit different.
Plugin authors could also publish relevant custom data for their PostCSS plugins.
This can also act as an escape hatch for newer language features like oklch(0 0 0).
.foo {
color: my-custom-color-ident;
color: my-custom-color-function(0 0 0);
}
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
The issue names no files, tests, or entry points, so first locate how the language service represents and loads custom data. Define how custom identifiers and functions should be supplied for CSS and PostCSS extensions, then add coverage showing that the examples in the issue are recognized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100