-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shift+Tab keybinding does not work in quick pick #180862
Comments
/duplicate #98479 |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
Not sure this is properly a duplicate of #98479. I'm not having issues overriding the quick pick navigation in general—I just can't get it to work for this specific keyboard shortcut. For example I already have vim-like keybindings in place for the same commands and they work perfectly fine.
|
I believe the issue is in these lines: vscode/src/vs/platform/quickinput/browser/quickInput.ts Lines 1408 to 1416 in 9c29619
Where |
I just ran into this exact issue when attempting to add the same keyboard shortcuts. I like using "tab" and "shift+tab" to navigate options, then "enter" to invoke the selected option. It saves my right hand a trip to the arrow keys. This works well with the commands "selectNextSuggestion" and "selectPrevSuggestion" for navigating autocomplete suggestions for code in the text editor, and would be great if we could configure this for quick open selections as well! |
same problem, have to use <ctrl+tab> instead in workbench.action.quickOpenSelectPrevious when inQuickOpen however, i found that <shift+tab> can be used normally in code completion scenarios, that is good news. {
"key": "tab",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion"
}, mac m2 air Version: 1.80.2 (Universal) |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
I've added keybindings to enable moving forward and backwards through quick open suggestions (similar to how search suggestions work in Firefox). However while the "tab" keybinding works as expected, when I activate the "shift+tab" keybinding it deselects the currently selected item in the quick pick and does nothing else. Note that I've disabled all other bindings for the same key combination. Also it's worth pointing out that these keybindings don't interfere with accessibility as I still have full keyboard access via "option+tab" and "shift+option+tab".
keybindings.json:
keyboard shortcuts troubleshooting logs:
The text was updated successfully, but these errors were encountered: