-
Notifications
You must be signed in to change notification settings - Fork 2.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
respect keybinding scope and registration order during evaluation #7839
Conversation
@tsmaeder @RomanNikitenko @502647092 Could you check please whether it resolves issues mentioned in #5749, #7833 and #7836? I'm testing too, but I'm on Mac. |
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 tested these changes on Fedora 31
The PR fixes use cases which I described in #7833
Ctrl-c seems to work on Windows FF and Chromium. |
I've found a different problem, though: every once in a while (seems more frequent on Firefox), the following task:
Seems to terminate with exit code 0 immediately instead of waiting 10 seconds. |
yes, i don't think it is related to keybindings handling |
I'm:
|
9afdbd3
to
c133987
Compare
I've built master after deleting all node_modules folders, and I can't observer the "early exit"-behaviour anymore. Not sure what did it, though. |
@502647092 I would love to have your feedback whether it resolves issues in #5749? |
ae9a884
to
25db922
Compare
…luation Also match only first keybinding on keydown, don't traverse over all keybindings. Signed-off-by: Anton Kosyakov <anton.kosyakov@typefox.io>
25db922
to
8888a8b
Compare
@RomanNikitenko could you double test it please? I have changed a lot since you looked at it. Thank you 🙏 |
@akosyakov |
@RomanNikitenko ok, thanks, I will merge tomorrow morning if there won't be any other feedback |
@akosyakov It looks like it can work |
What it does
How to test
ctrl+x ctrl+l
on linux/windows it should not cut, but wait forctrl+l
Review checklist
Reminder for reviewers