Files
vscode/src/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts
2025-01-21 09:05:21 +01:00

20 lines
767 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare module 'vscode' {
// https://github.com/microsoft/vscode/issues/234339
export interface StatusBarItem {
/**
* The tooltip text when you hover over this entry.
*
* Can optionally return the tooltip in a thenable if the computation is expensive.
*/
tooltip2: string | MarkdownString | undefined | ((token: CancellationToken) => ProviderResult<string | MarkdownString | undefined>);
}
}