Documentation

CompletionClientCapabilitiesCompletionItem
in package

Table of Contents

Properties

$commitCharactersSupport  : bool|null
Client supports commit characters on a completion item.
$deprecatedSupport  : bool|null
Client supports the deprecated property on a completion item.
$documentationFormat  : array<string|int, string>|null
Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.
$insertReplaceSupport  : bool|null
Client supports insert replace edit to control different behavior if a completion item is inserted in the text or should replace text.
$insertTextModeSupport  : CompletionClientCapabilitiesCompletionItemInsertTextModeSupport|null
The client supports the `insertTextMode` property on a completion item to override the whitespace handling mode as defined by the client (see `insertTextMode`).
$labelDetailsSupport  : bool|null
The client has support for completion item label details (see also `CompletionItemLabelDetails`).
$preselectSupport  : bool|null
Client supports the preselect property on a completion item.
$resolveSupport  : CompletionClientCapabilitiesCompletionItemResolveSupport|null
Indicates which properties a client can resolve lazily on a completion item. Before version 3.16.0 only the predefined properties `documentation` and `detail` could be resolved lazily.
$snippetSupport  : bool|null
Client supports snippets as insert text.
$tagSupport  : CompletionClientCapabilitiesCompletionItemTagSupport|null
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.

Methods

__construct()  : mixed
Undocumented function

Properties

$documentationFormat

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

public array<string|int, string>|null $documentationFormat

$insertReplaceSupport

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

public bool|null $insertReplaceSupport
Tags
since
3.16.0

$labelDetailsSupport

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

public bool|null $labelDetailsSupport
Tags
since
3.17.0
  • proposed state

$snippetSupport

Client supports snippets as insert text.

public bool|null $snippetSupport

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.

Methods

__construct()

Undocumented function

public __construct([bool|null $snippetSupport = null ][, bool|null $commitCharactersSupport = null ][, array<string|int, string>|null $documentationFormat = null ][, bool|null $deprecatedSupport = null ][, bool|null $preselectSupport = null ][, CompletionClientCapabilitiesCompletionItemTagSupport|null $tagSupport = null ][, bool|null $insertReplaceSupport = null ][, CompletionClientCapabilitiesCompletionItemResolveSupport|null $resolveSupport = null ][, CompletionClientCapabilitiesCompletionItemInsertTextModeSupport|null $insertTextModeSupport = null ][, bool|null $labelDetailsSupport = null ]) : mixed
Parameters
$snippetSupport : bool|null = null
$commitCharactersSupport : bool|null = null
$documentationFormat : array<string|int, string>|null = null
$deprecatedSupport : bool|null = null
$preselectSupport : bool|null = null
$tagSupport : CompletionClientCapabilitiesCompletionItemTagSupport|null = null
$insertReplaceSupport : bool|null = null
$resolveSupport : CompletionClientCapabilitiesCompletionItemResolveSupport|null = null
$insertTextModeSupport : CompletionClientCapabilitiesCompletionItemInsertTextModeSupport|null = null
$labelDetailsSupport : bool|null = null

        
On this page

Search results