microsoft / microsoft/vscode-languageserver-node
How to support CompletionItemKind#Color in LSP client completion?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 404
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 14
Description
The CSS language server returns CompletionItemKind#Color:
But I wonder how to interpret this Color in LSPclient side to show in completion the proper color like you did on vscode side.
It seems that LSP client should interpret the color name (ex: red), hexadecimal color (ex : #FFFFF) etc, is it the right direction?
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 LSP client's handling of CompletionItemKind and compare it with the CSS language server response shown in the issue. Review how VS Code presents color completion items and determine the expected client-side behavior for names and hexadecimal values. Done means the interpretation and required client behavior are clearly specified and supported by appropriate client tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100