接口 IStatusBarItemCreationParams实验性

Properties required to create a status bar item

interface IStatusBarItemCreationParams {
    alignment?: StatusBarAlignment;
    icon?: string;
    size?: number;
    text?: LocalizedString;
    visible?: boolean;
}

属性

alignment?: StatusBarAlignment

Alignment of item within status bar. If undefined, it will be left aligned.

icon?: string

Optional icon image resource of the item.

size?: number

Size of the status bar item. If undefined, it will wrap text content.

Default localized display text of the item. If undefined, it will be empty string.

visible?: boolean

Default visibility of the item. If undefined, it will be true.