View source
enum abstract CodeActionTriggerKind(Int)
package languageServerProtocol
import languageServerProtocol.Types
The reason why code actions were requested.
Available since
3.17.0
.Variables
inlineread onlyAutomatic:CodeActionTriggerKind = 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.
inlineread onlyInvoked:CodeActionTriggerKind = 1
Code actions were explicitly requested by the user or by an extension.