allow user to select quick pick items with keyboard #2513
-
A user of one of my extensions wants to use only the keyboard to select an item or items in a QuickPick (with multiple select) and not need to use a mouse to do those selections of a checkbox. A reasonable request. But I can't figure out how that can be done. There doesn't appear to be any command available to do that or any QuickPick method that is useful. It doesn't seem like a user can highlight and select an item in a QuickPick. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @ArturoDent , The user just have to use the Space key on each item, and it will toggle to checkbox. The checkbox besides the input (which toggles all items at once), on the other hand, doesn’t seem to have a keyboard shortcut to toggle. For this case, I would suggest you to fill an issue in the VS Code repo https://github.com/microsoft/vscode/issues. Hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @ArturoDent ,
The user just have to use the Space key on each item, and it will toggle to checkbox.
The checkbox besides the input (which toggles all items at once), on the other hand, doesn’t seem to have a keyboard shortcut to toggle. For this case, I would suggest you to fill an issue in the VS Code repo https://github.com/microsoft/vscode/issues.
Hope this helps.