-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Many "Skipping this default shortcut because it collides with another default shortcut." warnings #12103
Comments
For the settings editor shortcut, it seems appropriate to set the one on master: {
"command": "settingeditor:open",
"args": {},
"keys": ["Accel ,"],
"selector": "body"
},
{
"command": "settingeditor:open-json",
"args": {},
"keys": ["Shift Accel ,"],
"selector": "body"
}, |
For the run cell commands, actually when defining multiple shortcuts they need to be defined in the same object (keys is a list of shortcuts). Pushing a PR now. |
Ok in fact the {
"command": "application:activate-previous-tab-bar",
"keys": ["Ctrl Shift ,"],
"selector": "body"
}, from application-extension. |
So I propose to drop it. |
fcollonval
added a commit
to fcollonval/jupyterlab
that referenced
this issue
Feb 25, 2022
fcollonval
added a commit
to fcollonval/jupyterlab
that referenced
this issue
Mar 4, 2022
fcollonval
added a commit
that referenced
this issue
Mar 9, 2022
* Remove duplicated shortcuts Fixes #12103 * Allow both Cmd + Enter and Ctrl + Enter on MacOS * Set shortcut on OS bases for `notebook:run-cell` * Fix for non-macOS * Restore two entries for run cell command * Remove shortcuts with `Cmd` on non Mac platform * Add unit tests * Update packages/settingregistry/src/tokens.ts Co-authored-by: Jason Grout <jasongrout@users.noreply.github.com> * Fix integrity and prettify * Explicitly use mac-specific key bindings, rather than relying on new implicit behavior Co-authored-by: Jason Grout <jasongrout@users.noreply.github.com> Co-authored-by: Jason Grout <jason@jasongrout.org>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
Opening JupyterLab results in dozens of warnings like:
The shortcuts it complains about are:
Accel Enter
fornotebook:run-cell
added in Add additionalAccel Enter
keyboard shortcuts for thenotebook:run-cell
command #11942 CC @jtpio; I am not sure about this one, and would appreciate if you could look into thisShift Accel ,
forsettingeditor:open-json
added in Add settings UI #11079 CC @marthacryan - this conflicts with new settings UI which also has the same shortcut assigned and the same selector; we need to change it; up to discussion how.It could be either:
I am not sure which it is. This warning and logic was added in #9858 (CC @jasongrout).
Note: we are currently working around this check in #12091.
Reproduce
Expected behavior
No warnings; all shortcuts get activated.
Context
The text was updated successfully, but these errors were encountered: