|
175 | 175 | "category": "Deepnote", |
176 | 176 | "icon": "$(add)" |
177 | 177 | }, |
| 178 | + { |
| 179 | + "command": "deepnote.newNotebook", |
| 180 | + "title": "%deepnote.commands.newNotebook.title%", |
| 181 | + "category": "Deepnote", |
| 182 | + "icon": "$(notebook)" |
| 183 | + }, |
| 184 | + { |
| 185 | + "command": "deepnote.renameProject", |
| 186 | + "title": "Rename Project", |
| 187 | + "category": "Deepnote", |
| 188 | + "icon": "$(edit)" |
| 189 | + }, |
| 190 | + { |
| 191 | + "command": "deepnote.deleteProject", |
| 192 | + "title": "Delete Project", |
| 193 | + "category": "Deepnote", |
| 194 | + "icon": "$(trash)" |
| 195 | + }, |
| 196 | + { |
| 197 | + "command": "deepnote.renameNotebook", |
| 198 | + "title": "Rename Notebook", |
| 199 | + "category": "Deepnote", |
| 200 | + "icon": "$(edit)" |
| 201 | + }, |
| 202 | + { |
| 203 | + "command": "deepnote.deleteNotebook", |
| 204 | + "title": "Delete Notebook", |
| 205 | + "category": "Deepnote", |
| 206 | + "icon": "$(trash)" |
| 207 | + }, |
| 208 | + { |
| 209 | + "command": "deepnote.duplicateNotebook", |
| 210 | + "title": "Duplicate Notebook", |
| 211 | + "category": "Deepnote", |
| 212 | + "icon": "$(copy)" |
| 213 | + }, |
| 214 | + { |
| 215 | + "command": "deepnote.addNotebookToProject", |
| 216 | + "title": "Add Notebook", |
| 217 | + "category": "Deepnote", |
| 218 | + "icon": "$(add)" |
| 219 | + }, |
178 | 220 | { |
179 | 221 | "command": "dataScience.ClearCache", |
180 | 222 | "title": "%jupyter.command.dataScience.clearCache.title%", |
|
803 | 845 | "when": "notebookType == 'deepnote'" |
804 | 846 | }, |
805 | 847 | { |
806 | | - "command": "deepnote.addSqlBlock", |
| 848 | + "command": "deepnote.newNotebook", |
807 | 849 | "group": "navigation@1", |
808 | 850 | "when": "notebookType == 'deepnote'" |
809 | 851 | }, |
| 852 | + { |
| 853 | + "command": "deepnote.addSqlBlock", |
| 854 | + "group": "navigation@2", |
| 855 | + "when": "notebookType == 'deepnote'" |
| 856 | + }, |
810 | 857 | { |
811 | 858 | "command": "jupyter.restartkernel", |
812 | 859 | "group": "navigation/execute@5", |
|
1331 | 1378 | "command": "deepnote.revealInExplorer", |
1332 | 1379 | "when": "view == deepnoteExplorer", |
1333 | 1380 | "group": "inline@2" |
| 1381 | + }, |
| 1382 | + { |
| 1383 | + "command": "deepnote.addNotebookToProject", |
| 1384 | + "when": "view == deepnoteExplorer && viewItem == projectFile", |
| 1385 | + "group": "1_project@1" |
| 1386 | + }, |
| 1387 | + { |
| 1388 | + "command": "deepnote.renameProject", |
| 1389 | + "when": "view == deepnoteExplorer && viewItem == projectFile", |
| 1390 | + "group": "2_edit@1" |
| 1391 | + }, |
| 1392 | + { |
| 1393 | + "command": "deepnote.deleteProject", |
| 1394 | + "when": "view == deepnoteExplorer && viewItem == projectFile", |
| 1395 | + "group": "3_delete@1" |
| 1396 | + }, |
| 1397 | + { |
| 1398 | + "command": "deepnote.renameNotebook", |
| 1399 | + "when": "view == deepnoteExplorer && viewItem == notebook", |
| 1400 | + "group": "2_edit@1" |
| 1401 | + }, |
| 1402 | + { |
| 1403 | + "command": "deepnote.duplicateNotebook", |
| 1404 | + "when": "view == deepnoteExplorer && viewItem == notebook", |
| 1405 | + "group": "2_edit@2" |
| 1406 | + }, |
| 1407 | + { |
| 1408 | + "command": "deepnote.deleteNotebook", |
| 1409 | + "when": "view == deepnoteExplorer && viewItem == notebook", |
| 1410 | + "group": "3_delete@1" |
1334 | 1411 | } |
1335 | 1412 | ] |
1336 | 1413 | }, |
|
0 commit comments