enum LSP::CodeActionTriggerKind

Defined in:

lsp/protocol/code_action_trigger_kind.cr

Enum Members

Invoked = 1

Code actions were explicitly requested by the user or by an extension.

Automatic = 2

Code actions were requested automatically.

This typically happens when current selection in a file changes, but can also be triggered when file content changes.

Instance Method Summary

Instance Method Detail

def automatic? #

[View source]
def invoked? #

[View source]