-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Add support for three or more chord keyboard shortcuts #175253
Merged
ulugbekna
merged 24 commits into
microsoft:main
from
dyedgreen:support-three-or-more-chords
Mar 20, 2023
Merged
Changes from 17 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
41b0166
Add support for three or more chords in shortcuts
dyedgreen 2cb48a3
Add tests and fix bug that was uncovered
dyedgreen 9086a4f
Clean up TODO comments
dyedgreen c705bac
Merge branch 'main' into support-three-or-more-chords
dyedgreen 645569a
Make multi chords more explicit in quickInput.ts
dyedgreen 12b086c
Merge branch 'main' into support-three-or-more-chords
dyedgreen f4e6a83
Merge branch 'main' into support-three-or-more-chords
dyedgreen 11b3cfd
Merge branch 'main' into support-three-or-more-chords
dyedgreen 3c05b51
Merge branch 'main' into support-three-or-more-chords
dyedgreen 0dfd715
Merge branch 'main' into support-three-or-more-chords
dyedgreen 1df309c
Merge branch 'main' into support-three-or-more-chords
dyedgreen 5605923
Merge branch 'main' into support-three-or-more-chords
dyedgreen 8bd1a68
Merge branch 'main' into support-three-or-more-chords
dyedgreen decf8c1
Merge branch 'main' into support-three-or-more-chords
dyedgreen eaeaeaf
Address review comments
dyedgreen a0d1293
Merge branch 'main' into support-three-or-more-chords
dyedgreen 37612b5
keybindings: resolver: align terminology with rest of code
ulugbekna cffeedd
Allow input of >2 chords in keybinding settings
dyedgreen 5303e9d
Merge branch 'main' into support-three-or-more-chords
dyedgreen 55c32ae
Keep the limit at 2 chords in the widget for now
alexdima 1344a6d
Revert "Keep the limit at 2 chords in the widget for now"
ulugbekna c87d70b
keybindings: UI: search widget: limit chords to 2 for now
ulugbekna d7bb138
Fix single modifier chords
dyedgreen 3bf9003
Remove unused import
alexdima 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 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 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 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 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 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 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.
Does a keybinding like
shift shift
still work after this change?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 think it might not. I’ll take a look at how we can make this work again 👀
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 pushed some changes to restore the previous behavior. The way the single modifier chords are set-up, they can't be chorded to arbitrary length, but I feel like that's okay? (It fully restores the old behavior, while allowing arbitrary length chords for regular keys.)