Used internally by LspTextEditor to manage completion requests.

Static variables

@:value("completionManager_completionListView")staticfinalread onlyVARIANT_COMPLETION_LIST_VIEW:String = "completionManager_completionListView"

Constructor

new(textEditor:LspTextEditor)

Creates a new CompletionManager object.

Variables

completionMatcher:ICompletionMatcher

Filters and sorts completion items.

@:value(false)shortcutRequiresAlt:Bool = false

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

See also:

@:value(false)shortcutRequiresCommand:Bool = false

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

See also:

@:value(false)shortcutRequiresControl:Bool = false

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

See also:

@:value(true)shortcutRequiresCtrl:Bool = true

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

See also:

@:value(false)shortcutRequiresShift:Bool = false

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

See also:

Methods

clear():Void

Aborts current request, if any, and closes the completion list view.

dispatchCompletionEvent(params:CompletionParams):Void

Sends a completion request.