|
99 | 99 | "category": "Deepnote", |
100 | 100 | "icon": "$(plug)" |
101 | 101 | }, |
| 102 | + { |
| 103 | + "command": "deepnote.openInDeepnote", |
| 104 | + "title": "Open in Deepnote", |
| 105 | + "category": "Deepnote", |
| 106 | + "icon": "$(globe)" |
| 107 | + }, |
102 | 108 | { |
103 | 109 | "command": "deepnote.newProject", |
104 | 110 | "title": "New project", |
|
129 | 135 | "category": "Deepnote", |
130 | 136 | "icon": "$(graph)" |
131 | 137 | }, |
| 138 | + { |
| 139 | + "command": "deepnote.addChartBlock", |
| 140 | + "title": "%deepnote.commands.addChartBlock.title%", |
| 141 | + "category": "Deepnote", |
| 142 | + "icon": "$(graph-line)" |
| 143 | + }, |
132 | 144 | { |
133 | 145 | "command": "deepnote.addInputTextBlock", |
134 | 146 | "title": "%deepnote.commands.addInputTextBlock.title%", |
|
728 | 740 | { |
729 | 741 | "id": "editor.interactiveWindow.context", |
730 | 742 | "label": "%jupyter.command.editor.interactiveWindow.context.label%" |
| 743 | + }, |
| 744 | + { |
| 745 | + "id": "deepnote.explorer.context", |
| 746 | + "label": "Deepnote" |
731 | 747 | } |
732 | 748 | ], |
733 | 749 | "menus": { |
| 750 | + "view/title": [ |
| 751 | + { |
| 752 | + "command": "deepnote.newProject", |
| 753 | + "when": "view == deepnoteExplorer", |
| 754 | + "group": "navigation@1" |
| 755 | + }, |
| 756 | + { |
| 757 | + "command": "deepnote.importNotebook", |
| 758 | + "when": "view == deepnoteExplorer", |
| 759 | + "group": "navigation@2" |
| 760 | + }, |
| 761 | + { |
| 762 | + "command": "deepnote.refreshExplorer", |
| 763 | + "when": "view == deepnoteExplorer", |
| 764 | + "group": "navigation@3" |
| 765 | + } |
| 766 | + ], |
734 | 767 | "editor/context": [ |
735 | 768 | { |
736 | 769 | "submenu": "editor.interactiveWindow.context", |
|
740 | 773 | "when": "editorFocus && editorLangId == python && jupyter.hascodecells && !notebookEditorFocused && isWorkspaceTrusted", |
741 | 774 | "command": "jupyter.exportfileasnotebook", |
742 | 775 | "group": "Jupyter3@2" |
| 776 | + }, |
| 777 | + { |
| 778 | + "when": "resourceExtname == .deepnote", |
| 779 | + "command": "deepnote.openInDeepnote", |
| 780 | + "group": "navigation" |
743 | 781 | } |
744 | 782 | ], |
745 | 783 | "editor.interactiveWindow.context": [ |
|
779 | 817 | "when": "editorFocus && editorLangId == python && !notebookEditorFocused && isWorkspaceTrusted" |
780 | 818 | } |
781 | 819 | ], |
| 820 | + "deepnote.explorer.context": [ |
| 821 | + { |
| 822 | + "command": "deepnote.newProject" |
| 823 | + }, |
| 824 | + { |
| 825 | + "command": "deepnote.importNotebook" |
| 826 | + } |
| 827 | + ], |
782 | 828 | "editor/title": [ |
783 | 829 | { |
784 | 830 | "command": "jupyter.restartkernel", |
|
821 | 867 | "group": "navigation@1", |
822 | 868 | "when": "notebookType == 'deepnote'" |
823 | 869 | }, |
| 870 | + { |
| 871 | + "command": "deepnote.addChartBlock", |
| 872 | + "group": "navigation@2", |
| 873 | + "when": "notebookType == 'deepnote'" |
| 874 | + }, |
| 875 | + { |
| 876 | + "command": "deepnote.addBigNumberChartBlock", |
| 877 | + "group": "navigation@3", |
| 878 | + "when": "notebookType == 'deepnote'" |
| 879 | + }, |
| 880 | + { |
| 881 | + "command": "deepnote.addInputTextBlock", |
| 882 | + "group": "navigation@4", |
| 883 | + "when": "notebookType == 'deepnote'" |
| 884 | + }, |
| 885 | + { |
| 886 | + "command": "deepnote.addInputTextareaBlock", |
| 887 | + "group": "navigation@5", |
| 888 | + "when": "notebookType == 'deepnote'" |
| 889 | + }, |
| 890 | + { |
| 891 | + "command": "deepnote.addInputSelectBlock", |
| 892 | + "group": "navigation@6", |
| 893 | + "when": "notebookType == 'deepnote'" |
| 894 | + }, |
| 895 | + { |
| 896 | + "command": "deepnote.addInputSliderBlock", |
| 897 | + "group": "navigation@7", |
| 898 | + "when": "notebookType == 'deepnote'" |
| 899 | + }, |
| 900 | + { |
| 901 | + "command": "deepnote.addInputCheckboxBlock", |
| 902 | + "group": "navigation@8", |
| 903 | + "when": "notebookType == 'deepnote'" |
| 904 | + }, |
| 905 | + { |
| 906 | + "command": "deepnote.addInputDateBlock", |
| 907 | + "group": "navigation@9", |
| 908 | + "when": "notebookType == 'deepnote'" |
| 909 | + }, |
| 910 | + { |
| 911 | + "command": "deepnote.addInputDateRangeBlock", |
| 912 | + "group": "navigation@10", |
| 913 | + "when": "notebookType == 'deepnote'" |
| 914 | + }, |
824 | 915 | { |
825 | 916 | "command": "jupyter.restartkernel", |
826 | 917 | "group": "navigation/execute@5", |
|
951 | 1042 | } |
952 | 1043 | ], |
953 | 1044 | "explorer/context": [ |
| 1045 | + { |
| 1046 | + "submenu": "deepnote.explorer.context", |
| 1047 | + "when": "isWorkspaceTrusted", |
| 1048 | + "group": "navigation@10" |
| 1049 | + }, |
954 | 1050 | { |
955 | 1051 | "when": "resourceLangId == python && !notebookEditorFocused && isWorkspaceTrusted", |
956 | 1052 | "command": "jupyter.runFileInteractive", |
|
1352 | 1448 | "type": "object", |
1353 | 1449 | "title": "Deepnote", |
1354 | 1450 | "properties": { |
| 1451 | + "deepnote.domain": { |
| 1452 | + "type": "string", |
| 1453 | + "default": "deepnote.com", |
| 1454 | + "description": "Deepnote domain (e.g., 'deepnote.com' or 'ra-18838.deepnote-staging.com')", |
| 1455 | + "scope": "application" |
| 1456 | + }, |
| 1457 | + "deepnote.disableSSLVerification": { |
| 1458 | + "type": "boolean", |
| 1459 | + "default": false, |
| 1460 | + "description": "Disable SSL certificate verification (for development only)", |
| 1461 | + "scope": "application" |
| 1462 | + }, |
1355 | 1463 | "jupyter.experiments.enabled": { |
1356 | 1464 | "type": "boolean", |
1357 | 1465 | "default": true, |
|
0 commit comments