-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Fix toggling the side panels from menu #7799
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
Changes from all commits
02109b0
4efe0a1
8a107ce
4e60a1b
8151030
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "title": "Menu override", | ||
| "description": "Override some menu items", | ||
| "jupyter.lab.menus": { | ||
| "main": [ | ||
| { | ||
| "id": "jp-mainmenu-view", | ||
| "items": [ | ||
| { | ||
| "command": "toc:show-panel", | ||
| "disabled": true | ||
| }, | ||
| { | ||
| "command": "toc:toggle-panel", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this menu entry show up if the TOC extension is disabled?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, the command is created only if the TOC tracker token ( |
||
| "rank": 4 | ||
| }, | ||
| { | ||
| "command": "debugger:show-panel", | ||
| "disabled": true | ||
| }, | ||
| { | ||
| "command": "debugger:toggle-panel", | ||
| "rank": 5 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| "properties": {}, | ||
| "additionalProperties": false, | ||
| "type": "object" | ||
| } | ||
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 tried unsuccessfully to replace the upstream shortcuts, but it seems to also disable the new shortcuts