You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep in mind that the only property that matters when setting kind to Separator is label all others will be ignored (test this)
Ensure you can set label to empty string to add a blank separator
in the long form, ensure you are also able to add buttons to the QPI and they are rendered properly (they'll be ignored if you add them to the separator QPIs) NOTE: You will need the latest vscode.d.ts to test buttons as they are being finalized so run npx vscode-dts main
Refs: #74967
Complexity: 4
Create Issue
In this milestone, we've introduced the highly anticipated QuickPick Separators into the API.
API definition:
vscode/src/vscode-dts/vscode.proposed.quickPickSeparators.d.ts
Lines 8 to 18 in d1640b7
When you set the
kind
toSeparator
on a QuickPickItem, that QPI will be treated like a separator. Here's an example:or the long form:
gets you:
Things to test
kind
propertykind
toSeparator
islabel
all others will be ignored (test this)label
to empty string to add a blank separatorvscode.d.ts
to test buttons as they are being finalized so runnpx vscode-dts main
Useful stuff
npx vscode-dts main
package.json
(see below)npx vscode-dts dev
to get the typingsThe text was updated successfully, but these errors were encountered: