class

LSProtocol::CompletionListCapabilities

Inherits JSON::Serializable / Reference / Object

The client supports the following CompletionList specific capabilities.

@since 3.17.0

Constructors

new(pull : JSON::PullParser)
Source
new(apply_kind_support : Bool | Nil = nil, item_defaults : Array(String) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

apply_kind_support

Specifies whether the client supports CompletionList.applyKind to indicate how supported values from completionList.itemDefaults and completion will be combined.

If a client supports applyKind it must support it for all fields that it supports that are listed in CompletionList.applyKind. This means when clients add support for new/future fields in completion items the MUST also support merge for them if those fields are defined in CompletionList.applyKind.

@since 3.18.0

Source
item_defaults

The client supports the following itemDefaults on a completion list.

The value lists the supported property names of the CompletionList.itemDefaults object. If omitted no properties are supported.

@since 3.17.0

Source