Skip to content

Commit

Permalink
Add reopen closed command to tab context menu (#16250)
Browse files Browse the repository at this point in the history
* Add reopen closed command to tab context menu

* Adjust rank so that it is below `application:close-right-tabs` and above `filemenu:create-console`

* Update snapshots
  • Loading branch information
krassowski committed May 6, 2024
1 parent 59acb33 commit 7774dcf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/mainmenu-extension/schema/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@
"command": "filemenu:create-console",
"selector": "[data-type=\"document-title\"].jp-mod-current",
"rank": 10
},
{
"command": "recentmenu:reopen-last",
"selector": "#jp-main-dock-panel .lm-DockPanel-tabBar .lm-TabBar-tab",
"rank": 6
}
]
},
Expand Down

0 comments on commit 7774dcf

Please sign in to comment.