Skip to content

LSP: Return appropriate markdown content #4326

@kjeremy

Description

@kjeremy

If HoverClientCapabilities.contentFormat or CompletionClientCapabilities.completionItem.documentationFormat or SignatureHelpClientCapabilities.signatureInformation.documentationFormat are absent then we need to return:

Request Return
Hover MarkedString
Completion string
SignatureHelp string

See: https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_hover

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lspLSP conformance issues and missing featuresS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions