|
421 | 421 | "command": "dvc.showExperimentsAndPlots", |
422 | 422 | "category": "DVC" |
423 | 423 | }, |
| 424 | + { |
| 425 | + "title": "Connect to Studio", |
| 426 | + "command": "dvc.showStudioConnect", |
| 427 | + "category": "DVC" |
| 428 | + }, |
| 429 | + { |
| 430 | + "title": "Show Studio Settings", |
| 431 | + "command": "dvc.showStudioSettings", |
| 432 | + "category": "DVC" |
| 433 | + }, |
| 434 | + { |
| 435 | + "title": "Show Setup", |
| 436 | + "command": "dvc.showSetup", |
| 437 | + "category": "DVC" |
| 438 | + }, |
424 | 439 | { |
425 | 440 | "title": "Stop All Running Experiments", |
426 | 441 | "command": "dvc.stopAllRunningExperiments", |
|
841 | 856 | "command": "dvc.showExperimentsAndPlots", |
842 | 857 | "when": "dvc.commands.available && dvc.project.available" |
843 | 858 | }, |
| 859 | + { |
| 860 | + "command": "dvc.showStudioConnect", |
| 861 | + "when": "dvc.commands.available && dvc.project.available && !dvc.studio.connected" |
| 862 | + }, |
| 863 | + { |
| 864 | + "command": "dvc.showStudioSettings", |
| 865 | + "when": "dvc.commands.available && dvc.project.available && dvc.studio.connected" |
| 866 | + }, |
844 | 867 | { |
845 | 868 | "command": "dvc.stopAllRunningExperiments", |
846 | 869 | "when": "dvc.commands.available && dvc.project.available && dvc.experiment.running" |
|
1398 | 1421 | }, |
1399 | 1422 | { |
1400 | 1423 | "view": "dvc.views.studio", |
1401 | | - "contents": "[$(plug) Connect](command:dvc.showStudioSetup)", |
| 1424 | + "contents": "[$(plug) Connect](command:dvc.showStudioConnect)", |
1402 | 1425 | "when": "!dvc.studio.connected" |
1403 | 1426 | }, |
1404 | 1427 | { |
1405 | 1428 | "view": "dvc.views.studio", |
1406 | | - "contents": "[$(settings-gear) Open Settings](command:dvc.showStudioSetup)", |
| 1429 | + "contents": "[$(settings-gear) Open Settings](command:dvc.showStudioSettings)", |
1407 | 1430 | "when": "dvc.studio.connected" |
1408 | 1431 | }, |
1409 | 1432 | { |
|
0 commit comments