struct

LSP::SignatureHelpContext

Inherits JSON::Serializable < LSP::Initializer < Struct < Value < Object

Additional information about the context in which a signature help request was triggered.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

active_signature_help

The currently active SignatureHelp.

The activeSignatureHelp has its SignatureHelp.activeSignature field updated based on the user navigating through available signatures.

Source
active_signature_help=(active_signature_help : SignatureHelp | Nil)

The currently active SignatureHelp.

The activeSignatureHelp has its SignatureHelp.activeSignature field updated based on the user navigating through available signatures.

Source
is_retrigger

true if signature help was already showing when it was triggered.

Retriggers occur when the signature help is already active and can be caused by actions such as typing a trigger character, a cursor move, or document content changes.

Source
is_retrigger=(is_retrigger : Bool)

true if signature help was already showing when it was triggered.

Retriggers occur when the signature help is already active and can be caused by actions such as typing a trigger character, a cursor move, or document content changes.

Source
trigger_character

Character that caused signature help to be triggered.

This is undefined when triggerKind !== SignatureHelpTriggerKind.TriggerCharacter

Source
trigger_character=(trigger_character : String | Nil)

Character that caused signature help to be triggered.

This is undefined when triggerKind !== SignatureHelpTriggerKind.TriggerCharacter

Source
trigger_kind

Action that caused signature help to be triggered.

Source
trigger_kind=(trigger_kind : SignatureHelpTriggerKind)

Action that caused signature help to be triggered.

Source