Used internally by LspTextEditor
to manage code action requests.
Constructor
new(textEditor:LspTextEditor, codeActionCallback:CodeAction ‑> Void)
Creates a new CodeActionsManager
object.
Variables
shortcutKey:UInt = Keyboard.PERIOD
The key used to trigger code actions, along with the specified modifiers.
See also:
shortcutRequiresAlt:Bool = false
Specifies the value of KeyboardEvent.altKey
that is required to
trigger code actions.
See also:
shortcutRequiresCommand:Bool = false
Specifies the value of KeyboardEvent.commandKey
that is required to
trigger code actions.
See also:
shortcutRequiresControl:Bool = false
Specifies the value of KeyboardEvent.controlKey
that is required to
trigger code actions.
See also:
shortcutRequiresCtrl:Bool = true
Specifies the value of KeyboardEvent.ctrlKey
that is required to
trigger code actions.
See also:
shortcutRequiresShift:Bool = false
Specifies the value of KeyboardEvent.shiftKey
that is required to
trigger code actions.
See also:
Methods
dispatchCodeActionsEvent(params:CodeActionParams, open:Bool = false):Void
Sends a code actions request.