Interface DocumentSymbolProvider
Expand description
interface DocumentSymbolProvider {
displayName?: string;
provideDocumentSymbols(
model: ITextModel,
token: CancellationToken,
): ProviderResult<DocumentSymbol[]>;
}Properties§
§
display Name?: stringMethods§
§provideDocumentSymbols(
model: ITextModel,
token: CancellationToken,
): ProviderResult<DocumentSymbol[]>
provideDocumentSymbols(
model: ITextModel,
token: CancellationToken,
): ProviderResult<DocumentSymbol[]>
Provide symbol information for the given document.
The document symbol provider interface defines the contract between extensions and the go to symbol-feature.