Skip to content

Commit cda3e77

Browse files
committed
feat: Add Deepnote commands to view title bar and explorer context menu
1 parent 192c29c commit cda3e77

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,23 @@
717717
}
718718
],
719719
"menus": {
720+
"view/title": [
721+
{
722+
"command": "deepnote.newProject",
723+
"when": "view == deepnoteExplorer",
724+
"group": "navigation@1"
725+
},
726+
{
727+
"command": "deepnote.importNotebook",
728+
"when": "view == deepnoteExplorer",
729+
"group": "navigation@2"
730+
},
731+
{
732+
"command": "deepnote.refreshExplorer",
733+
"when": "view == deepnoteExplorer",
734+
"group": "navigation@3"
735+
}
736+
],
720737
"editor/context": [
721738
{
722739
"submenu": "editor.interactiveWindow.context",
@@ -937,6 +954,14 @@
937954
}
938955
],
939956
"explorer/context": [
957+
{
958+
"command": "deepnote.newProject",
959+
"group": "Deepnote@1"
960+
},
961+
{
962+
"command": "deepnote.importNotebook",
963+
"group": "Deepnote@2"
964+
},
940965
{
941966
"when": "resourceLangId == python && !notebookEditorFocused && isWorkspaceTrusted",
942967
"command": "jupyter.runFileInteractive",

0 commit comments

Comments
 (0)