enum
LSP::CodeActionTriggerKind
Defined in:
lsp/protocol/code_action_trigger_kind.crEnum 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
-
#automatic?
Returns
true
if this enum value equalsAutomatic
-
#invoked?
Returns
true
if this enum value equalsInvoked