View source
class LspTextEditorLanguageActionEvent<T>
package moonshine.editor.text.lsp.events
extends Event
Events dispatched by a LspTextEditor
when it needs to perform a
language-related action.
Static variables
staticfinalread onlyAPPLY_WORKSPACE_EDIT:EventType<LspTextEditorLanguageActionEvent<WorkspaceEdit>> = "applyWorkspaceEdit"
Dispatched when the text editor needs to apply a workspace edit, which may affect other files.
staticfinalread onlyOPEN_LINK:EventType<LspTextEditorLanguageActionEvent<Array<LocationLink>>> = "openLink"
Dispatched when the text editor needs to open a link, either to another file or to an external URL.
staticfinalread onlyRUN_COMMAND:EventType<LspTextEditorLanguageActionEvent<Command>> = "runCommand"
Dispatched when the text editor needs to run a command.