Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProblemContribution

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly options

Protected Readonly problemManager

problemManager: ProblemManager

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly shell

Protected Readonly statusBar

statusBar: StatusBar

Optional Readonly toggleCommand

toggleCommand: Command

Protected updateStatusBarElement

updateStatusBarElement: DebouncedFunc<(Anonymous function)> = debounce(() => this.setStatusBarElement(this.problemManager.getProblemStat()), 10)

Protected Readonly widgetManager

widgetManager: WidgetManager

Accessors

defaultViewOptions

viewId

  • get viewId(): string

viewLabel

  • get viewLabel(): string

widget

Methods

Protected addToClipboard

  • addToClipboard(content: string): void

closeView

Protected collapseAllProblems

  • collapseAllProblems(): Promise<void>

Protected copy

Protected copyMessage

Protected getStatusBarTooltip

  • Get the tooltip to be displayed when hovering over the problem statusbar item.

    • Displays No Problems when no problems are present.
    • Displays a human-readable label which describes for each type of problem stat properties, their overall count and type when any one of these properties has a positive count.

    Parameters

    • stat: ProblemStat

      the problem stat describing the number of errors, warnings and infos.

    Returns string

    the tooltip to be displayed in the statusbar.

initializeLayout

onStart

openView

registerCommands

registerKeybindings

registerMenus

registerToolbarItems

Protected setStatusBarElement

toggleView

tryGetWidget

Protected withWidget

  • withWidget<T>(widget?: Widget | undefined, cb: (problems: ProblemWidget) => T): T | false