Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StatusBarItem

A status bar item is a status bar contribution that can show text and icons and run a command on click.

Hierarchy

  • StatusBarItem

Index

Properties

Readonly alignment

The alignment of this item.

color

color: undefined | string | ThemeColor

The foreground color for this entry.

command

command: undefined | string | Command

The identifier of a command to run on click.

Readonly priority

priority: number

The priority of this item. Higher value means the item should be shown more to the left.

text

text: string

The text to show for the entry. To set a text with icon use the following pattern in text string: $(fontawesomeClassName)

tooltip

tooltip: undefined | string

The tooltip text when you hover over this entry.

Methods

dispose

  • dispose(): void

hide

  • hide(): void

show

  • show(): void