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
This iteration we added proposed API to allow value selection in a QuickPick. "Value selection" allows you to have part of the input box selected.
declare module 'vscode'{exportinterfaceQuickPick<T>{/** * Selection range in the input value. Defined as tuple of two number where the * first is the inclusive start index and the second the exclusive end index. When * `undefined` the whole pre-filled value will be selected, when empty (start equals end) * only the cursor will be set, otherwise the defined range will be selected. * * This property does not get updated when the user types or makes a selection, * but it can be updated by the extension. */valueSelection: readonly[number,number]|undefined;}}
Refs: #233274
Complexity: 3
Create Issue
This iteration we added proposed API to allow value selection in a QuickPick. "Value selection" allows you to have part of the input box selected.
Prereqs
npx @vscode/dts dev
to get the proposed API fileUse the
window.createQuickPick()
APIUse the
vscode.window.createQuickPick()
to create a quick pick where you can usevalueSelection
.Things to try out:
Have fun with it!
The text was updated successfully, but these errors were encountered: