-
Notifications
You must be signed in to change notification settings - Fork 340
Add a key set command for opening a file #3315
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
Conversation
HostPlatform.instance.isMacOS | ||
? LogicalKeyboardKey.meta | ||
: LogicalKeyboardKey.control, | ||
LogicalKeyboardKey.keyP, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the same as focusLibraryFilterKeySet
above. Maybe use 'o' for this one for now? At least until @bkonyi's changes land and we have ripped out the filter in the libraries window. Then we can decide whether we want to have this hot key be cmd + p or cmd + o long term. I expect both the open file feature and Ben's changes will be done for the Oct release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good catch! Switched to cmd + o
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CTRL-P is definitely preferable since most editors use that as a shortcut for file searching. Will it help if I upload a small PR to remove the filter box? It shouldn't be very difficult to do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, if that's not too much trouble that would be great! Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented on Ben's PR, but will add a note here too - we shouldn't land #3319 until after the release goes out tomorrow. We don't want to remove the filtering functionality before we replace it with the open file dialog feature.
Adds
CTRL + P
/CMD + P
as a key set, which will be used to open the file opener dialog.Also pulls the key sets definitions out into their own file within the debugger directory.