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