@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Function toPickSeparator

    • Creates a non-selectable separator for grouping items in a QuickPick list. Mix these into the array passed to pickOne/pickMany.

      Parameters

      • label: string = ''

        Text shown on the separator (default: empty)

      Returns QuickPickItemLike

      An item that renders as a visual group divider

      const items = [
      toPickSeparator('Recent'),
      toPickItem('a', { label: 'A' }),
      toPickSeparator('All'),
      toPickItem('b', { label: 'B' }),
      ];