Skip to content

Commit f0f375d

Browse files
add text clarifying when buttons can be used. Fixes microsoft#138204
1 parent f0654a2 commit f0f375d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vscode-dts/vscode.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1675,7 +1675,9 @@ declare module 'vscode' {
16751675

16761676
/**
16771677
* Optional buttons that will be rendered on this particular item. These buttons will trigger
1678-
* an {@link QuickPickItemButtonEvent} when clicked.
1678+
* an {@link QuickPickItemButtonEvent} when clicked. Buttons are only rendered when using a quickpick
1679+
* created by the {@link window.createQuickPick()} API. Buttons are not rendered when using
1680+
* the {@link window.showQuickPick()} API.
16791681
*/
16801682
buttons?: readonly QuickInputButton[];
16811683
}

0 commit comments

Comments
 (0)