Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "gui"

Index

Type aliases

ShowPopupWhenFinishedValue

ShowPopupWhenFinishedValue: boolean | number

A possible value for 'showPopupWhenFinished' setting.

Variables

Const DEFAULT_REQUIRED_FILES_BEFORE_SHOW_POPUP_WHEN_FINISHED

DEFAULT_REQUIRED_FILES_BEFORE_SHOW_POPUP_WHEN_FINISHED: 2 = 2

The default value for the minimum number of files, which are required, before 'showPopupWhenFinished()' shows a popup.

Functions

showPopupWhenFinished

sortQuickPicksByUsage

  • sortQuickPicksByUsage<TItem>(items: TItem | TItem[], state: vscode.Memento, key: string, labelResolver?: function): ActionQuickPick[]
  • Sorts quick pick items by usage by using the 'state' property as ID value.

    Type parameters

    Parameters

    • items: TItem | TItem[]

      The item(s) to sort.

    • state: vscode.Memento

      The memento where to store the states and counters.

    • key: string

      The key inside the memento.

    • Optional labelResolver: function
        • (item: TItem): string
        • Parameters

          • item: TItem

          Returns string

    Returns ActionQuickPick[]

    The sorted items.

Generated using TypeDoc