-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added a keyboard shortcut for adding files #2395
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
Merged
raclim
merged 18 commits into
processing:develop
from
sdivyanshu90:keyboard_shortcut_add_file
Aug 2, 2024
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1520d2f
Added ctrl-shift-a
sdivyanshu90 7d5cdb2
removed
sdivyanshu90 9dcd28c
changed to alt-n
sdivyanshu90 74ae0ca
Fixed Prettier
sdivyanshu90 95bbd04
Sync package-lock.json with develop
sdivyanshu90 6a72a66
Merge branch 'develop' into keyboard_shortcut_add_file
sdivyanshu90 6c92e0f
Merge remote-tracking branch 'origin/develop' into keyboard_shortcut_…
sdivyanshu90 010b31f
Merge branch 'processing:develop' into keyboard_shortcut_add_file
sdivyanshu90 a4e8b00
Snapshot updated
sdivyanshu90 a214ea3
Merge branch 'keyboard_shortcut_add_file' of https://github.com/sdivy…
sdivyanshu90 1ede87c
Merge branch 'develop' into keyboard_shortcut_add_file
sdivyanshu90 8922b59
Merge branch 'develop' into keyboard_shortcut_add_file
raclim 6852804
Merge branch 'develop' into keyboard_shortcut_add_file
raclim 613e445
Merge branch 'develop' into keyboard_shortcut_add_file
raclim a679475
Merge branch 'develop' into keyboard_shortcut_add_file
raclim 257ff59
Merge branch 'develop' into keyboard_shortcut_add_file
raclim e685185
use ctrl alt n
raclim 03ca536
update snapshot
raclim File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I would stay away from
e.code
and prefere.key
. It only makes a difference if the user has a non-standard keyboard layout.e.code
is basically "the key in the 'N' position" wherease.key
is "the key that types 'N'".https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
I guess I only built this hook to support
ctrl-
andctrl-shift-
and didn't do anything withalt
. But we want it to support anyctrl-alt-LETTER
and not justctrl-alt-n
. This should do it: