Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StatusBar

Hierarchy

  • StatusBar

Implements

  • Disposable

Index

Constructors

constructor

Properties

Private _activeKitName

_activeKitName: string = ""

Private _buildButton

_buildButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.4)

Private _buildTypeLabel

_buildTypeLabel: string = "Unconfigured"

The build type label. Determined by the active build variant

Private _cmakeToolsStatusItem

_cmakeToolsStatusItem: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.5)

Private _ctestEnabled

_ctestEnabled: boolean = false

Private _debugButton

_debugButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.25)

Private _isBusy

_isBusy: boolean = false

Whether or not to show a 'Build' or 'Stop' button. Changes the content of the button and the command that is executed when the button is pressed

Private _kitSelectionButton

_kitSelectionButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.45)

Private _launchTargetNameButton

_launchTargetNameButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.2)

Private _statusMessage

_statusMessage: string = "Loading..."

The message shown in the primary status button. Tells the user what the extension is currently up to.

Private _targetButton

_targetButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.3)

Private _targetName

_targetName: string = ""

The name of the currently active target to build

Private _testButton

_testButton: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3.1)

Private _testResults

_testResults: BasicTestResults | null = null

Private _visible

_visible: boolean = true

Private _warningMessage

_warningMessage: StatusBarItem = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left, 3)

Accessors

ctestEnabled

  • get ctestEnabled(): boolean
  • set ctestEnabled(v: boolean): void

targetName

  • get targetName(): string
  • set targetName(v: string): void

testResults

Methods

Private _reloadBuildButton

  • _reloadBuildButton(): void
  • Reloads the content of the build button

    Returns void

Private _reloadDebugButton

  • _reloadDebugButton(): void

Private _reloadKitsButton

  • _reloadKitsButton(): void

Private _reloadStatusButton

  • _reloadStatusButton(): void

dispose

  • dispose(): void

reloadVisibility

  • reloadVisibility(): void

setActiveKitName

  • setActiveKitName(v: string): void

setBuildTypeLabel

  • setBuildTypeLabel(v: string): void

setIsBusy

  • setIsBusy(v: boolean): void

setLaunchTargetName

  • setLaunchTargetName(v: string): void

setStatusMessage

  • setStatusMessage(v: string): void

setVisible

  • setVisible(v: boolean): void
  • Whether the status bar items are visible

    Parameters

    • v: boolean

    Returns void

showWarningMessage

  • showWarningMessage(msg: string): void

Generated using TypeDoc