View Source GenLSP.Enumerations.CodeActionTriggerKind (gen_lsp v0.8.1)

The reason why code actions were requested.

@since 3.17.0

Link to this section Summary

Functions

Code actions were requested automatically.

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

Link to this section Types

@type t() :: 1 | 2

Link to this section Functions

@spec 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.

@spec invoked() :: 1

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