Skip to content

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

Open
@nik-rev

Description

@nik-rev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions