StatusBarItemsManager Class

Beta  

Controls status bar items.

Methods

Name Description
add(itemOrItems: CommonStatusBarItem | ReadonlyArray<CommonStatusBarItem>): void    
remove(itemIdOrItemIds: StatusBarItemId | ReadonlyArray<StatusBarItemId>): void Remove StatusBar items based on id  
setIsVisible(id: StatusBarItemId, isVisible: boolean): void Set the visibility of a StatusBar item  
setLabel(id: StatusBarItemId, label: string): void Set Label on statusbar items that support labels  
setTooltip(id: StatusBarItemId, tooltip: string): void Set Tooltip on statusbar items that support tooltip string.  

Properties

Name Type Description
items Accessor ReadonlyArray<CommonStatusBarItem> Get an array of the StatusBar items  

Defined in

Last Updated: 13 June, 2024