Problems view in the bottom panel.

const bottomBar = workbench.getBottomBar()
const outputView = await bottomBar.openProblemsView()
console.log(await outputView.setFilter('Error'))

Hierarchy (view full)

Constructors

Properties

changeCount$: ChainablePromiseElement<Element>
changeCount$$: ChainablePromiseArray<Element[]>
collapseAll$: ChainablePromiseElement<Element>
collapseAll$$: ChainablePromiseArray<Element[]>
elem$: ChainablePromiseElement<Element>
elem$$: ChainablePromiseArray<Element[]>
input$: ChainablePromiseElement<Element>
input$$: ChainablePromiseArray<Element[]>
markerRow$: ChainablePromiseElement<Element>
markerRow$$: ChainablePromiseArray<Element[]>
markersFilter$: ChainablePromiseElement<Element>
markersFilter$$: ChainablePromiseArray<Element[]>
panel: BottomBarPanel = ...

Accessors

  • get elem(): ChainablePromiseElement<Element>
  • Base element of given page object

    Returns ChainablePromiseElement<Element>

  • get parent(): ChainablePromiseElement<Element>
  • Parent element of given page object

    Returns ChainablePromiseElement<Element>

Methods

  • Collapse all collapsible markers in the problems view

    Returns Promise<void>

    Promise resolving when the collapse all button is pressed

  • Get all visible markers from the problems view with the given type. Warning: this only returns the markers that are visible, and not the entire list, so calls to this function may change depending on the environment in which the tests are running in. To get all markers regardless of type, use MarkerType.Any

    Parameters

    • type: MarkerType

      type of markers to retrieve

    Returns Promise<Marker[]>

    Promise resolving to array of Marker objects

  • Poll for the element to become visible

    Parameters

    • timeout: number = 10000

      custom timeout for the wait

    • interval: number = 2000

      custom interval to control polling

    Returns Promise<ProblemsView>

    thenable self reference

  • Set the filter using the input box on the problems view

    Parameters

    • pattern: string

      filter to use, preferably a glob pattern

    Returns Promise<void>

    Promise resolving when the filter pattern is filled in

Generated using TypeDoc