Used internally by LspTextEditor to manage code action requests.

Constructor

new(textEditor:LspTextEditor, codeActionCallback:CodeAction ‑> Void)

Creates a new CodeActionsManager object.

Variables

@:value(false)shortcutRequiresAlt:Bool = false

Specifies the value of KeyboardEvent.altKey that is required to trigger code actions.

See also:

@:value(false)shortcutRequiresCommand:Bool = false

Specifies the value of KeyboardEvent.commandKey that is required to trigger code actions.

See also:

@:value(false)shortcutRequiresControl:Bool = false

Specifies the value of KeyboardEvent.controlKey that is required to trigger code actions.

See also:

@:value(true)shortcutRequiresCtrl:Bool = true

Specifies the value of KeyboardEvent.ctrlKey that is required to trigger code actions.

See also:

@:value(false)shortcutRequiresShift:Bool = false

Specifies the value of KeyboardEvent.shiftKey that is required to trigger code actions.

See also:

Methods

clear():Void

Aborts current request, if any, and closes the code actions view.

@:value({ open : false })dispatchCodeActionsEvent(params:CodeActionParams, open:Bool = false):Void

Sends a code actions request.