Methods
$changeDiagnostics
- $changeDiagnostics(id: string, delta: [string, MarkerData[]][]): void
$changeLanguage
- $changeLanguage(resource: UriComponents, languageId: string): Promise<void>
Parameters
resource: UriComponents
languageId: string
Returns Promise<void>
$clearDiagnostics
- $clearDiagnostics(id: string): void
$emitCodeLensEvent
- $emitCodeLensEvent(eventHandle: number, event?: any): void
Parameters
eventHandle: number
Optional event: any
Returns void
$emitDocumentSemanticTokensEvent
- $emitDocumentSemanticTokensEvent(eventHandle: number): void
$emitFoldingRangeEvent
- $emitFoldingRangeEvent(handle: number, event?: any): void
Parameters
handle: number
Optional event: any
Returns void
$emitInlayHintsEvent
- $emitInlayHintsEvent(eventHandle: number, event?: any): void
Parameters
eventHandle: number
Optional event: any
Returns void
$emitInlineValuesEvent
- $emitInlineValuesEvent(eventHandle: number, event?: any): void
Parameters
eventHandle: number
Optional event: any
Returns void
$getLanguages
- $getLanguages(): Promise<string[]>
Returns Promise<string[]>
$registerCallHierarchyProvider
$registerCodeLensSupport
Parameters
handle: number
Optional eventHandle: number
Returns void
$registerCompletionSupport
- $registerCompletionSupport(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], triggerCharacters: string[], supportsResolveDetails: boolean): void
Parameters
handle: number
triggerCharacters: string[]
supportsResolveDetails: boolean
Returns void
$registerDeclarationProvider
$registerDefinitionProvider
$registerDocumentColorProvider
$registerDocumentDropEditProvider
$registerDocumentFormattingSupport
$registerDocumentHighlightProvider
$registerDocumentLinkProvider
$registerDocumentRangeSemanticTokensProvider
Parameters
handle: number
legend: SemanticTokensLegend
Returns void
$registerDocumentSemanticTokensProvider
- $registerDocumentSemanticTokensProvider(handle: number, pluginInfo: PluginInfo, selector: SerializedDocumentFilter[], legend: SemanticTokensLegend, eventHandle: undefined | number): void
Parameters
handle: number
legend: SemanticTokensLegend
eventHandle: undefined | number
Returns void
$registerEvaluatableExpressionProvider
$registerFoldingRangeProvider
Parameters
handle: number
Optional eventHandle: number
Returns void
$registerImplementationProvider
$registerInlayHintsProvider
Parameters
handle: number
Optional displayName: string
Optional eventHandle: number
Returns void
$registerInlineCompletionsSupport
$registerInlineValuesProvider
$registerLinkedEditingRangeProvider
$registerOnTypeFormattingProvider
Parameters
handle: number
autoFormatTriggerCharacters: string[]
Returns void
$registerOutlineSupport
Parameters
handle: number
Optional displayName: string
Returns void
$registerQuickFixProvider
Parameters
handle: number
Optional codeActionKinds: string[]
Returns void
$registerRangeFormattingSupport
$registerReferenceProvider
$registerRenameProvider
Parameters
handle: number
supportsResolveInitialValues: boolean
Returns void
$registerSelectionRangeProvider
$registerSignatureHelpProvider
Parameters
handle: number
metadata: SignatureHelpProviderMetadata
Returns void
$registerTypeDefinitionProvider
$registerTypeHierarchyProvider
$registerWorkspaceSymbolProvider
- $registerWorkspaceSymbolProvider(handle: number, pluginInfo: PluginInfo): void
$removeLanguageStatus
- $removeLanguageStatus(handle: number): void
$setLanguageConfiguration
Parameters
handle: number
languageId: string
Returns void
$unregister
- $unregister(handle: number): void