Creates a non-selectable separator for grouping items in a QuickPick list. Mix these into the array passed to pickOne/pickMany.
pickOne
pickMany
Text shown on the separator (default: empty)
An item that renders as a visual group divider
const items = [ toPickSeparator('Recent'), toPickItem('a', { label: 'A' }), toPickSeparator('All'), toPickItem('b', { label: 'B' }),]; Copy
const items = [ toPickSeparator('Recent'), toPickItem('a', { label: 'A' }), toPickSeparator('All'), toPickItem('b', { label: 'B' }),];
Creates a non-selectable separator for grouping items in a QuickPick list. Mix these into the array passed to
pickOne/pickMany.