Type Alias ClientCompletionItemOptions

ClientCompletionItemOptions: {
    commitCharactersSupport?: boolean;
    deprecatedSupport?: boolean;
    documentationFormat?: MarkupKind[];
    insertReplaceSupport?: boolean;
    insertTextModeSupport?: ClientCompletionItemInsertTextModeOptions;
    labelDetailsSupport?: boolean;
    preselectSupport?: boolean;
    resolveSupport?: ClientCompletionItemResolveOptions;
    snippetSupport?: boolean;
    tagSupport?: CompletionItemTagOptions;
}

Type declaration

  • OptionalcommitCharactersSupport?: boolean

    Client supports commit characters on a completion item.

  • OptionaldeprecatedSupport?: boolean

    Client supports the deprecated property on a completion item.

  • OptionaldocumentationFormat?: MarkupKind[]

    Client supports the following content formats for the documentation property. The order describes the preferred format of the client.

  • OptionalinsertReplaceSupport?: boolean

    Client support insert replace edit to control different behavior if a completion item is inserted in the text or should replace text.

    3.16.0

  • OptionalinsertTextModeSupport?: ClientCompletionItemInsertTextModeOptions

    The client supports the insertTextMode property on a completion item to override the whitespace handling mode as defined by the client (see insertTextMode).

    3.16.0

  • OptionallabelDetailsSupport?: boolean

    The client has support for completion item label details (see also CompletionItemLabelDetails).

    3.17.0

  • OptionalpreselectSupport?: boolean

    Client supports the preselect property on a completion item.

  • OptionalresolveSupport?: ClientCompletionItemResolveOptions

    Indicates which properties a client can resolve lazily on a completion item. Before version 3.16.0 only the predefined properties documentation and details could be resolved lazily.

    3.16.0

  • OptionalsnippetSupport?: boolean

    Client supports snippets as insert text.

    A snippet can define tab stops and placeholders with $1, $2 and ${3:foo}. $0 defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

  • OptionaltagSupport?: CompletionItemTagOptions

    Client supports the tag property on a completion item. Clients supporting tags have to handle unknown tags gracefully. Clients especially need to preserve unknown tags when sending a completion item back to the server in a resolve call.

    3.15.0

3.18.0