interface LanguagesExt { $freeInlineCompletionsList(handle,
pid): void; $prepareTypeHierarchy(handle,
resource,
location,
token): Promise<undefined | TypeHierarchyItem[]>; $provideCallees(handle,
definition,
token): Promise<undefined | CallHierarchyOutgoingCall[]>; $provideCallers(handle,
definition,
token): Promise<undefined | CallHierarchyIncomingCall[]>; $provideCodeActions(handle,
resource,
rangeOrSelection,
context,
token): Promise<undefined | CodeAction[]>; $provideCodeLenses(handle,
resource,
token): Promise<undefined | CodeLensSymbol[]>; $provideColorPresentations(handle,
resource,
colorInfo,
token): PromiseLike<ColorPresentation[]>; $provideCompletionItems(handle,
resource,
position,
context,
token): Promise<undefined | CompletionResultDto>; $provideDeclaration(handle,
resource,
position,
token): Promise<undefined | Definition>; $provideDefinition(handle,
resource,
position,
token): Promise<undefined | Definition>; $provideDocumentColors(handle,
resource,
token): PromiseLike<RawColorInfo[]>; $provideDocumentDropEdits(handle,
resource,
position,
dataTransfer,
token): Promise<undefined | DocumentDropEdit>; $provideDocumentFormattingEdits(handle,
resource,
options,
token): Promise<undefined | TextEdit[]>; $provideDocumentHighlights(handle,
resource,
position,
token): Promise<undefined | DocumentHighlight[]>; $provideDocumentLinks(handle,
resource,
token): Promise<undefined | DocumentLink[]>; $provideDocumentRangeFormattingEdits(handle,
resource,
range,
options,
token): Promise<undefined | TextEdit[]>; $provideDocumentRangeSemanticTokens(handle,
resource,
range,
token): Promise<null | BinaryBuffer>; $provideDocumentSemanticTokens(handle,
resource,
previousResultId,
token): Promise<null | BinaryBuffer>; $provideDocumentSymbols(handle,
resource,
token): Promise<undefined | DocumentSymbol[]>; $provideEvaluatableExpression(handle,
resource,
position,
token): Promise<undefined | EvaluatableExpression>; $provideFoldingRange(handle,
resource,
context,
token): PromiseLike<undefined | FoldingRange[]>; $provideHover(handle,
resource,
position,
token): Promise<undefined | Hover>; $provideImplementation(handle,
resource,
position,
token): Promise<undefined | Definition>; $provideInlayHints(handle,
resource,
range,
token): Promise<undefined | InlayHintsDto>; $provideInlineCompletions(handle,
resource,
position,
context,
token): Promise<undefined | IdentifiableInlineCompletions>; $provideInlineValues(handle,
resource,
range,
context,
token): Promise<undefined | InlineValue[]>; $provideLinkedEditingRanges(handle,
resource,
position,
token): Promise<undefined | LinkedEditingRanges>; $provideOnTypeFormattingEdits(handle,
resource,
position,
ch,
options,
token): Promise<undefined | TextEdit[]>; $provideReferences(handle,
resource,
position,
context,
token): Promise<undefined | Location[]>; $provideRenameEdits(handle,
resource,
position,
newName,
token): PromiseLike<undefined | WorkspaceEditDto>; $provideRootDefinition(handle,
resource,
location,
token): Promise<undefined | CallHierarchyItem[]>; $provideSelectionRanges(handle,
resource,
positions,
token): PromiseLike<SelectionRange[][]>; $provideSignatureHelp(handle,
resource,
position,
context,
token): Promise<undefined | SignatureHelp>; $provideSubTypes(handle,
sessionId,
itemId,
token): Promise<undefined | TypeHierarchyItem[]>; $provideSuperTypes(handle,
sessionId,
itemId,
token): Promise<undefined | TypeHierarchyItem[]>; $provideTypeDefinition(handle,
resource,
position,
token): Promise<undefined | Definition>; $provideWorkspaceSymbols(handle,
query,
token): PromiseLike<SymbolInformation[]>; $releaseCallHierarchy(handle,
session?): Promise<boolean>; $releaseCodeActions(handle,
cacheIds): void; $releaseCodeLenses(handle,
ids): void; $releaseCompletionItems(handle,
id): void; $releaseDocumentLinks(handle,
ids): void; $releaseDocumentSemanticTokens(handle,
semanticColoringResultId): void; $releaseInlayHints(handle,
id): void; $releaseSignatureHelp(handle,
id): void; $releaseTypeHierarchy(handle,
session?): Promise<boolean>; $resolveCodeAction(handle,
cacheId,
token): Promise<undefined | WorkspaceEditDto>; $resolveCodeLens(handle,
resource,
symbol,
token): Promise<undefined | CodeLensSymbol>; $resolveCompletionItem(handle,
chainedId,
token): Promise<undefined | Completion>; $resolveDocumentLink(handle,
link,
token): Promise<undefined | DocumentLink>; $resolveInlayHint(handle,
id,
token): Promise<undefined | InlayHintDto>; $resolveRenameLocation(handle,
resource,
position,
token): PromiseLike<undefined | RenameLocation>; $resolveWorkspaceSymbol(handle,
symbol,
token): PromiseLike<undefined | SymbolInformation>; } Methods
$freeInlineCompletionsList
- $freeInlineCompletionsList(handle, pid): void
Parameters
- handle: number
- pid: number
Returns void
$prepareTypeHierarchy
- $prepareTypeHierarchy(handle, resource, location, token): Promise<undefined | TypeHierarchyItem[]>
$provideCodeActions
- $provideCodeActions(handle, resource, rangeOrSelection, context, token): Promise<undefined | CodeAction[]>
Returns Promise<undefined | CodeAction[]>
$provideColorPresentations
- $provideColorPresentations(handle, resource, colorInfo, token): PromiseLike<ColorPresentation[]>
$provideCompletionItems
- $provideCompletionItems(handle, resource, position, context, token): Promise<undefined | CompletionResultDto>
$provideDeclaration
- $provideDeclaration(handle, resource, position, token): Promise<undefined | Definition>
Returns Promise<undefined | Definition>
$provideDefinition
- $provideDefinition(handle, resource, position, token): Promise<undefined | Definition>
Returns Promise<undefined | Definition>
$provideDocumentColors
- $provideDocumentColors(handle, resource, token): PromiseLike<RawColorInfo[]>
$provideDocumentDropEdits
- $provideDocumentDropEdits(handle, resource, position, dataTransfer, token): Promise<undefined | DocumentDropEdit>
$provideDocumentFormattingEdits
- $provideDocumentFormattingEdits(handle, resource, options, token): Promise<undefined | TextEdit[]>
Returns Promise<undefined | TextEdit[]>
$provideDocumentHighlights
- $provideDocumentHighlights(handle, resource, position, token): Promise<undefined | DocumentHighlight[]>
$provideDocumentLinks
- $provideDocumentLinks(handle, resource, token): Promise<undefined | DocumentLink[]>
Returns Promise<undefined | DocumentLink[]>
$provideDocumentRangeFormattingEdits
- $provideDocumentRangeFormattingEdits(handle, resource, range, options, token): Promise<undefined | TextEdit[]>
Returns Promise<undefined | TextEdit[]>
$provideDocumentRangeSemanticTokens
- $provideDocumentRangeSemanticTokens(handle, resource, range, token): Promise<null | BinaryBuffer>
Returns Promise<null | BinaryBuffer>
$provideDocumentSemanticTokens
- $provideDocumentSemanticTokens(handle, resource, previousResultId, token): Promise<null | BinaryBuffer>
Parameters
- handle: number
- resource: UriComponents
- previousResultId: number
- token: CancellationToken
Returns Promise<null | BinaryBuffer>
$provideEvaluatableExpression
- $provideEvaluatableExpression(handle, resource, position, token): Promise<undefined | EvaluatableExpression>
$provideFoldingRange
- $provideFoldingRange(handle, resource, context, token): PromiseLike<undefined | FoldingRange[]>
Returns PromiseLike<undefined | FoldingRange[]>
$provideHover
- $provideHover(handle, resource, position, token): Promise<undefined | Hover>
Returns Promise<undefined | Hover>
$provideImplementation
- $provideImplementation(handle, resource, position, token): Promise<undefined | Definition>
Returns Promise<undefined | Definition>
$provideInlineCompletions
$provideInlineValues
- $provideInlineValues(handle, resource, range, context, token): Promise<undefined | InlineValue[]>
Returns Promise<undefined | InlineValue[]>
$provideLinkedEditingRanges
- $provideLinkedEditingRanges(handle, resource, position, token): Promise<undefined | LinkedEditingRanges>
$provideOnTypeFormattingEdits
- $provideOnTypeFormattingEdits(handle, resource, position, ch, options, token): Promise<undefined | TextEdit[]>
Returns Promise<undefined | TextEdit[]>
$provideReferences
- $provideReferences(handle, resource, position, context, token): Promise<undefined | Location[]>
Returns Promise<undefined | Location[]>
$provideRootDefinition
- $provideRootDefinition(handle, resource, location, token): Promise<undefined | CallHierarchyItem[]>
$provideSelectionRanges
- $provideSelectionRanges(handle, resource, positions, token): PromiseLike<SelectionRange[][]>
$provideSignatureHelp
- $provideSignatureHelp(handle, resource, position, context, token): Promise<undefined | SignatureHelp>
Returns Promise<undefined | SignatureHelp>
$provideSubTypes
- $provideSubTypes(handle, sessionId, itemId, token): Promise<undefined | TypeHierarchyItem[]>
$provideSuperTypes
- $provideSuperTypes(handle, sessionId, itemId, token): Promise<undefined | TypeHierarchyItem[]>
$provideTypeDefinition
- $provideTypeDefinition(handle, resource, position, token): Promise<undefined | Definition>
Returns Promise<undefined | Definition>
$provideWorkspaceSymbols
- $provideWorkspaceSymbols(handle, query, token): PromiseLike<SymbolInformation[]>
Returns PromiseLike<SymbolInformation[]>
$releaseCallHierarchy
- $releaseCallHierarchy(handle, session?): Promise<boolean>
Parameters
- handle: number
Optional
session: string
Returns Promise<boolean>
$releaseCodeActions
- $releaseCodeActions(handle, cacheIds): void
Parameters
- handle: number
- cacheIds: number[]
Returns void
$releaseCodeLenses
- $releaseCodeLenses(handle, ids): void
Parameters
- handle: number
- ids: number[]
Returns void
$releaseCompletionItems
- $releaseCompletionItems(handle, id): void
Returns void
$releaseDocumentLinks
- $releaseDocumentLinks(handle, ids): void
Parameters
- handle: number
- ids: number[]
Returns void
$releaseDocumentSemanticTokens
- $releaseDocumentSemanticTokens(handle, semanticColoringResultId): void
Parameters
- handle: number
- semanticColoringResultId: number
Returns void
$releaseInlayHints
- $releaseInlayHints(handle, id): void
Returns void
$releaseSignatureHelp
- $releaseSignatureHelp(handle, id): void
Returns void
$releaseTypeHierarchy
- $releaseTypeHierarchy(handle, session?): Promise<boolean>
Parameters
- handle: number
Optional
session: string
Returns Promise<boolean>
$resolveCodeAction
- $resolveCodeAction(handle, cacheId, token): Promise<undefined | WorkspaceEditDto>
$resolveCompletionItem
- $resolveCompletionItem(handle, chainedId, token): Promise<undefined | Completion>
Returns Promise<undefined | Completion>
$resolveRenameLocation
- $resolveRenameLocation(handle, resource, position, token): PromiseLike<undefined | RenameLocation>
Returns PromiseLike<undefined | RenameLocation>
$resolveWorkspaceSymbol
- $resolveWorkspaceSymbol(handle, symbol, token): PromiseLike<undefined | SymbolInformation>
Returns PromiseLike<undefined | SymbolInformation>