View source
class LspTextEditorLanguageRequestEvent<ParamsType, ResultType>
package moonshine.editor.text.lsp.events
extends Event
Events dispatched by a LspTextEditor
when performing a language-related
request.
Static variables
staticfinalread onlyREQUEST_CODE_ACTIONS:EventType<LspTextEditorLanguageRequestEvent<CodeActionParams, Array<CodeAction>>> = "requestCodeActions"
Dispatched when the text editor requests code actions.
staticfinalread onlyREQUEST_COMPLETION:EventType<LspTextEditorLanguageRequestEvent<CompletionParams, CompletionList>> = "requestCompletion"
Dispatched when the text editor requests a completion list.
staticfinalread onlyREQUEST_DEFINITION:EventType<LspTextEditorLanguageRequestEvent<DefinitionParams, Array<Any>>> = "requestDefinition"
Dispatched when the text editor requests a definition.
staticfinalread onlyREQUEST_HOVER:EventType<LspTextEditorLanguageRequestEvent<HoverParams, Hover>> = "requestHover"
Dispatched when the text editor requests hover details.
staticfinalread onlyREQUEST_RESOLVE_COMPLETION:EventType<LspTextEditorLanguageRequestEvent<CompletionItem, CompletionItem>> = "requestResolveCompletion"
Dispatched when the text editor requests resolution of a completion item.
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.