Path: blob/main/src/vscode-dts/vscode.proposed.chatStatusItem.d.ts
3290 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45declare module 'vscode' {67export interface ChatStatusItem {8/**9* The identifier of this item.10*/11readonly id: string;1213/**14* The main name of the entry, like 'Indexing Status'15*/16title: string | { label: string; link: string };1718/**19* Optional additional description of the entry.20*21* This is rendered after the title. Supports Markdown style links (`[text](http://example.com)`) and rendering of22* {@link ThemeIcon theme icons} via the `$(<name>)`-syntax.23*/24description: string;2526/**27* Optional additional details of the entry.28*29* This is rendered less prominently after the title. Supports Markdown style links (`[text](http://example.com)`) and rendering of30* {@link ThemeIcon theme icons} via the `$(<name>)`-syntax.31*/32detail: string | undefined;3334/**35* Shows the entry in the chat status.36*/37show(): void;3839/**40* Hide the entry in the chat status.41*/42hide(): void;4344/**45* Dispose and free associated resources46*/47dispose(): void;48}4950namespace window {51/**52* Create a new chat status item.53*54* @param id The unique identifier of the status bar item.55*56* @returns A new chat status item.57*/58export function createChatStatusItem(id: string): ChatStatusItem;59}60}616263