Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Standardise CompletionItemKind: Color documentation format to always include the hex color at the end #2082

Open
nik-rev opened this issue Jan 12, 2025 · 0 comments

Comments

@nik-rev
Copy link

nik-rev commented Jan 12, 2025

Language servers such as vscode-css, tailwindcss, dart-ls which send CompletionItemKind: Color completions, tend to include the hex color at the end of documentation.

This is useful to be able to make colored completion boxes next to each item, as what happens in the Helix editor:

Image

But, it is hard to rely on each language server to properly send the response to contain the hex color at the end of the documentation

This is why it would be useful to make it a part of the LSP spec.

@nik-rev nik-rev changed the title Standardise CompletionItemKind: Color documentation format to always include the hex color at the end Proposal: Standardise CompletionItemKind: Color documentation format to always include the hex color at the end Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant