-
Notifications
You must be signed in to change notification settings - Fork 28.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
Keyboard shortcuts for specific code actions #157719
Comments
At the moment, even the old context menu used to show the code action menu didn't support keybindings like this. Seems like this was something that was specific to the native macOS menu, but can also be implemented now in vs code with the custom keybindings |
If it will be implemented in the same way as workbench list tree works now, please ensure that typing second key won't reset the sequence. For example typing But I think it'd be ideal to use some kind of old widget from explorer area to highlight/filter actions gracefully. |
Will this be fixed? My right-hand cries when I have to do a "quick" fix... So much for it being quick A solution that allows us to fuzzy search to filter and then CMD+<number> would be nice. The shortcut for the first 1-0 can be shown like the screenshot of the OP comment Similar applies to the omnibar that can be accessed by CMD+(shift)P. Tab doesn't move the selector down, which forces the user to use mouse or arrow keys. |
First iteration of this feature is now insiders-released. Continuing to fix and optimize as mentioned in #190447 |
Some feedback from trying out
useCustomCodeActionMenu
: it's no longer possible to select a list item using the keyboard. For example, with the old version I was able to select "Unwrap function call" simply by typingu
:Originally posted by @OliverJAsh in #152913 (comment)
The text was updated successfully, but these errors were encountered: