|
728 | 728 | { |
729 | 729 | "id": "editor.interactiveWindow.context", |
730 | 730 | "label": "%jupyter.command.editor.interactiveWindow.context.label%" |
| 731 | + }, |
| 732 | + { |
| 733 | + "id": "deepnote.explorer.context", |
| 734 | + "label": "Deepnote" |
731 | 735 | } |
732 | 736 | ], |
733 | 737 | "menus": { |
| 738 | + "view/title": [ |
| 739 | + { |
| 740 | + "command": "deepnote.newProject", |
| 741 | + "when": "view == deepnoteExplorer", |
| 742 | + "group": "navigation@1" |
| 743 | + }, |
| 744 | + { |
| 745 | + "command": "deepnote.importNotebook", |
| 746 | + "when": "view == deepnoteExplorer", |
| 747 | + "group": "navigation@2" |
| 748 | + }, |
| 749 | + { |
| 750 | + "command": "deepnote.refreshExplorer", |
| 751 | + "when": "view == deepnoteExplorer", |
| 752 | + "group": "navigation@3" |
| 753 | + } |
| 754 | + ], |
734 | 755 | "editor/context": [ |
735 | 756 | { |
736 | 757 | "submenu": "editor.interactiveWindow.context", |
|
779 | 800 | "when": "editorFocus && editorLangId == python && !notebookEditorFocused && isWorkspaceTrusted" |
780 | 801 | } |
781 | 802 | ], |
| 803 | + "deepnote.explorer.context": [ |
| 804 | + { |
| 805 | + "command": "deepnote.newProject" |
| 806 | + }, |
| 807 | + { |
| 808 | + "command": "deepnote.importNotebook" |
| 809 | + } |
| 810 | + ], |
782 | 811 | "editor/title": [ |
783 | 812 | { |
784 | 813 | "command": "jupyter.restartkernel", |
|
951 | 980 | } |
952 | 981 | ], |
953 | 982 | "explorer/context": [ |
| 983 | + { |
| 984 | + "submenu": "deepnote.explorer.context", |
| 985 | + "when": "isWorkspaceTrusted", |
| 986 | + "group": "navigation@10" |
| 987 | + }, |
954 | 988 | { |
955 | 989 | "when": "resourceLangId == python && !notebookEditorFocused && isWorkspaceTrusted", |
956 | 990 | "command": "jupyter.runFileInteractive", |
|
0 commit comments