class LSProtocol::CompletionListCapabilities
- LSProtocol::CompletionListCapabilities
- Reference
- Object
Overview
The client supports the following CompletionList specific
capabilities.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(apply_kind_support : Bool | Nil = nil, item_defaults : Array(String) | Nil = nil)
Instance Method Summary
-
#apply_kind_support : Bool | Nil
Specifies whether the client supports
CompletionList.applyKindto indicate how supported values fromcompletionList.itemDefaultsandcompletionwill be combined. -
#item_defaults : Array(String) | Nil
The client supports the following itemDefaults on a completion list.
Constructor Detail
Instance Method Detail
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
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