LanguageServerLaneOptions
LanguageServerLaneOptions =
LanguageServerLaneHostOptions&object
Type Declaration
Section titled “Type Declaration”capabilities?
Section titled “capabilities?”
readonlyoptionalcapabilities?:lsp.ClientCapabilities
clientInfo?
Section titled “clientInfo?”
readonlyoptionalclientInfo?:lsp.InitializeParams["clientInfo"]
connectionProvider?
Section titled “connectionProvider?”
readonlyoptionalconnectionProvider?:LspConnectionProvider
features
Section titled “features”
readonlyfeatures:LanguageServerFeatureRanks
readonlyid:string
initializationOptions?
Section titled “initializationOptions?”
readonlyoptionalinitializationOptions?:unknown
notificationHandlers?
Section titled “notificationHandlers?”
readonlyoptionalnotificationHandlers?:Readonly<Record<string,LspNotificationHandler<LspClient>>>
onDiagnostics?
Section titled “onDiagnostics?”
readonlyoptionalonDiagnostics?: (summary) =>void
Parameters
Section titled “Parameters”summary
Section titled “summary”LanguageServerDiagnosticSummary
Returns
Section titled “Returns”void
onError?
Section titled “onError?”
readonlyoptionalonError?: (error) =>void
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
onInteractiveReady?
Section titled “onInteractiveReady?”
readonlyoptionalonInteractiveReady?: () =>void
Returns
Section titled “Returns”void
onRequestError?
Section titled “onRequestError?”
readonlyoptionalonRequestError?: (method,error) =>void
Parameters
Section titled “Parameters”method
Section titled “method”string
unknown
Returns
Section titled “Returns”void
onStatusChange?
Section titled “onStatusChange?”
readonlyoptionalonStatusChange?: (status) =>void
Parameters
Section titled “Parameters”status
Section titled “status”Returns
Section titled “Returns”void
readyNotifications?
Section titled “readyNotifications?”
readonlyoptionalreadyNotifications?: readonlyLanguageServerReadyNotification[]
reconnect?
Section titled “reconnect?”
readonlyoptionalreconnect?:LspReconnectOptions
Reconnects after the server goes away on its own; off unless given.
rootUri?
Section titled “rootUri?”
readonlyoptionalrootUri?:lsp.DocumentUri|null
serverRequestHandlers?
Section titled “serverRequestHandlers?”
readonlyoptionalserverRequestHandlers?:Readonly<Record<string,LspServerRequestHandler<LspClient>>>
timeoutMs?
Section titled “timeoutMs?”
readonlyoptionaltimeoutMs?:number
webSocketRoute
Section titled “webSocketRoute”
readonlywebSocketRoute:string|URL
webSocketTransportOptions?
Section titled “webSocketTransportOptions?”
readonlyoptionalwebSocketTransportOptions?:LspWebSocketTransportOptions
onConnected()?
Section titled “onConnected()?”
optionalonConnected(context):void
Parameters
Section titled “Parameters”context
Section titled “context”LanguageServerConnectionContext
Returns
Section titled “Returns”void
onConnectionCreated()?
Section titled “onConnectionCreated()?”
optionalonConnectionCreated(context):void|EditorDisposable
Parameters
Section titled “Parameters”context
Section titled “context”LanguageServerConnectionContext
Returns
Section titled “Returns”void | EditorDisposable