class LSProtocol::CompletionContext
- LSProtocol::CompletionContext
- Reference
- Object
Overview
Contains additional information about the context in which a completion request is triggered.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(trigger_kind : CompletionTriggerKind | Nil, trigger_character : String | Nil = nil)
Instance Method Summary
-
#trigger_character : String | Nil
The trigger character (a single character) that has trigger code complete.
-
#trigger_kind : CompletionTriggerKind
How the completion was triggered.
Constructor Detail
Instance Method Detail
def trigger_character : String | Nil
#
The trigger character (a single character) that has trigger code complete.
Is undefined if triggerKind !== CompletionTriggerKind.TriggerCharacter