Events dispatched by a LspTextEditor when performing a language-related request.

Static variables

@:value("requestCodeActions")staticfinalread onlyREQUEST_CODE_ACTIONS:EventType<LspTextEditorLanguageRequestEvent<CodeActionParams, Array<CodeAction>>> = "requestCodeActions"

Dispatched when the text editor requests code actions.

@:value("requestCompletion")staticfinalread onlyREQUEST_COMPLETION:EventType<LspTextEditorLanguageRequestEvent<CompletionParams, CompletionList>> = "requestCompletion"

Dispatched when the text editor requests a completion list.

@:value("requestDefinition")staticfinalread onlyREQUEST_DEFINITION:EventType<LspTextEditorLanguageRequestEvent<DefinitionParams, Array<Any>>> = "requestDefinition"

Dispatched when the text editor requests a definition.

@:value("requestHover")staticfinalread onlyREQUEST_HOVER:EventType<LspTextEditorLanguageRequestEvent<HoverParams, Hover>> = "requestHover"

Dispatched when the text editor requests hover details.

@:value("requestResolveCompletion")staticfinalread onlyREQUEST_RESOLVE_COMPLETION:EventType<LspTextEditorLanguageRequestEvent<CompletionItem, CompletionItem>> = "requestResolveCompletion"

Dispatched when the text editor requests resolution of a completion item.

@:value("requestSignatureHelp")staticfinalread onlyREQUEST_SIGNATURE_HELP:EventType<LspTextEditorLanguageRequestEvent<SignatureHelpParams, SignatureHelp>> = "requestSignatureHelp"

Dispatched when the text editor requests signature help.

Constructor

new(type:EventType<LspTextEditorLanguageRequestEvent<ParamsType, ResultType>>, params:ParamsType, callback:ResultType ‑> Void)

Creates a new LspTextEditorLanguageRequestEvent object.

Variables

params:ParamsType

The parameters for the request.

callback:ResultType ‑> Void

A function to call when the result of the request is returned.

Methods