Events dispatched by the LanguageClient when certain notifications are received.

Static variables

@:value("applyEdit")staticfinalread onlyAPPLY_EDIT:EventType<LspNotificationEvent<ApplyWorkspaceEditParams>> = "applyEdit"

Dispatched when a workspace edit should be applied.

@:value("logMessage")staticfinalread onlyLOG_MESSAGE:EventType<LspNotificationEvent<LogMessageParams>> = "logMessage"

Dispatched when a message should be logged.

@:value("progress")staticfinalread onlyPROGRESS:EventType<LspNotificationEvent<ProgressParams>> = "progress"

Dispatched when a progress notification is received.

@:value("publishDiagnostics")staticfinalread onlyPUBLISH_DIAGNOSTICS:EventType<LspNotificationEvent<PublishDiagnosticsParams>> = "publishDiagnostics"

Dispatched when diagnostics should be published.

@:value("registerCapability")staticfinalread onlyREGISTER_CAPABILITY:EventType<LspNotificationEvent<RegistrationParams>> = "registerCapability"

Dispatched when a capability is registered.

@:value("showMessage")staticfinalread onlySHOW_MESSAGE:EventType<LspNotificationEvent<ShowMessageParams>> = "showMessage"

Dispatched when a message box should be shown.

@:value("unregisterCapability")staticfinalread onlyUNREGISTER_CAPABILITY:EventType<LspNotificationEvent<UnregistrationParams>> = "unregisterCapability"

Dispatched when a capability is unregistered.

Constructor

new(type:EventType<LspNotificationEvent<T>>, params:T)

Creates a new LspNotificationEvent object.

Variables

params:T

The parameters received with the notification.

Methods