LanguageServerResolvedOptions
LanguageServerResolvedOptions =
object
Properties
Section titled “Properties”initializationOptions
Section titled “initializationOptions”
readonlyinitializationOptions:unknown
onApplyWorkspaceEdit?
Section titled “onApplyWorkspaceEdit?”
readonlyoptionalonApplyWorkspaceEdit?:OnApplyWorkspaceEdit
onDefinitionLinkHover?
Section titled “onDefinitionLinkHover?”
readonlyoptionalonDefinitionLinkHover?: (target) =>void| (() =>void)
Parameters
Section titled “Parameters”target
Section titled “target”LanguageServerDefinitionTarget
Returns
Section titled “Returns”void | (() => void)
onDiagnostics?
Section titled “onDiagnostics?”
readonlyoptionalonDiagnostics?: (summary) =>void
Parameters
Section titled “Parameters”summary
Section titled “summary”LanguageServerDiagnosticSummary
Returns
Section titled “Returns”void
onDidNavigateDiagnostic?
Section titled “onDidNavigateDiagnostic?”
readonlyoptionalonDidNavigateDiagnostic?: (event) =>LanguageServerDiagnosticMarkerClaim
Parameters
Section titled “Parameters”LanguageServerDiagnosticMarkerEvent
Returns
Section titled “Returns”LanguageServerDiagnosticMarkerClaim
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
onOpenDefinition?
Section titled “onOpenDefinition?”
readonlyoptionalonOpenDefinition?: (target,options?) =>void|boolean
Parameters
Section titled “Parameters”target
Section titled “target”LanguageServerDefinitionTarget
options?
Section titled “options?”LanguageServerNavigationOptions
Returns
Section titled “Returns”void | boolean
onOpenReferences?
Section titled “onOpenReferences?”
readonlyoptionalonOpenReferences?: (result) =>void|boolean
Parameters
Section titled “Parameters”result
Section titled “result”LanguageServerReferencesResult
Returns
Section titled “Returns”void | boolean
onStatusChange?
Section titled “onStatusChange?”
readonlyoptionalonStatusChange?: (status) =>void
Parameters
Section titled “Parameters”status
Section titled “status”Returns
Section titled “Returns”void
rootUri
Section titled “rootUri”
readonlyrootUri:lsp.DocumentUri|null
timeoutMs
Section titled “timeoutMs”
readonlytimeoutMs:number
webSocketRoute
Section titled “webSocketRoute”
readonlywebSocketRoute:string|URL
webSocketTransportOptions?
Section titled “webSocketTransportOptions?”
readonlyoptionalwebSocketTransportOptions?:LspWebSocketTransportOptions