Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProblemContribution

Hierarchy

Implements

  • FrontendApplicationContribution
  • TabBarToolbarContribution

Index

Constructors

Properties

problemManager: ProblemManager
selectionService: SelectionService
statusBar: StatusBar
updateStatusBarElement: DebouncedFunc<(() => void)> = ...

Methods

  • addToClipboard(content: string): void
  • collapseAllProblems(): Promise<void>
  • 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(app: FrontendApplication): Promise<void>
  • onStart(app: FrontendApplication): void
  • registerCommands(commands: CommandRegistry): void
  • registerMenus(menus: MenuModelRegistry): void
  • registerToolbarItems(toolbarRegistry: TabBarToolbarRegistry): Promise<void>
  • withWidget<T>(widget?: undefined | Widget, cb: ((problems: ProblemWidget) => T)): false | T