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