|
362 | 362 | "category": "DVC" |
363 | 363 | }, |
364 | 364 | { |
365 | | - "title": "Stop Running Queued Experiment(s)", |
366 | | - "command": "dvc.stopQueuedExperiments", |
| 365 | + "title": "Stop Running Experiment(s)", |
| 366 | + "command": "dvc.stopExperiments", |
367 | 367 | "category": "DVC" |
368 | 368 | }, |
369 | 369 | { |
|
429 | 429 | "command": "dvc.showSetup", |
430 | 430 | "category": "DVC" |
431 | 431 | }, |
| 432 | + { |
| 433 | + "title": "Stop", |
| 434 | + "command": "dvc.views.experimentsTree.stopExperiment", |
| 435 | + "category": "DVC", |
| 436 | + "icon": "$(debug-stop)" |
| 437 | + }, |
| 438 | + { |
| 439 | + "title": "Stop", |
| 440 | + "command": "dvc.views.experiments.stopExperiment", |
| 441 | + "category": "DVC", |
| 442 | + "icon": "$(debug-stop)" |
| 443 | + }, |
432 | 444 | { |
433 | 445 | "title": "Stop All Running Experiments", |
434 | 446 | "command": "dvc.stopAllRunningExperiments", |
|
827 | 839 | "when": "dvc.commands.available && dvc.project.available" |
828 | 840 | }, |
829 | 841 | { |
830 | | - "command": "dvc.stopQueuedExperiments", |
| 842 | + "command": "dvc.stopExperiments", |
831 | 843 | "when": "dvc.commands.available && dvc.project.available" |
832 | 844 | }, |
833 | 845 | { |
|
914 | 926 | "command": "dvc.views.experiments.showLogs", |
915 | 927 | "when": "false" |
916 | 928 | }, |
| 929 | + { |
| 930 | + "command": "dvc.views.experimentsTree.stopExperiment", |
| 931 | + "when": "false" |
| 932 | + }, |
| 933 | + { |
| 934 | + "command": "dvc.views.experiments.stopExperiment", |
| 935 | + "when": "false" |
| 936 | + }, |
917 | 937 | { |
918 | 938 | "command": "dvc.views.experimentsFilterByTree.removeAllFilters", |
919 | 939 | "when": "false" |
|
1160 | 1180 | "group": "inline", |
1161 | 1181 | "when": "view == dvc.views.experimentsFilterByTree && dvc.commands.available && viewItem != dvcRoot" |
1162 | 1182 | }, |
| 1183 | + { |
| 1184 | + "command": "dvc.views.experimentsTree.stopExperiment", |
| 1185 | + "group": "inline@0", |
| 1186 | + "when": "view == dvc.views.experimentsTree && dvc.commands.available && viewItem == running" |
| 1187 | + }, |
1163 | 1188 | { |
1164 | 1189 | "command": "dvc.views.experiments.applyExperiment", |
1165 | 1190 | "group": "inline@1", |
|
1217 | 1242 | "when": "view == dvc.views.experimentsColumnsTree", |
1218 | 1243 | "group": "navigation@2" |
1219 | 1244 | }, |
| 1245 | + { |
| 1246 | + "command": "dvc.stopAllRunningExperiments", |
| 1247 | + "when": "view == dvc.views.experimentsTree && dvc.experiments.webview.active && dvc.experiment.running", |
| 1248 | + "group": "navigation@0" |
| 1249 | + }, |
1220 | 1250 | { |
1221 | 1251 | "command": "dvc.runExperiment", |
1222 | 1252 | "when": "view == dvc.views.experimentsTree && !dvc.experiment.running.workspace && !dvc.experiment.checkpoints", |
|
1237 | 1267 | "when": "view == dvc.views.experimentsTree && !dvc.experiments.webview.active && dvc.experiment.running", |
1238 | 1268 | "group": "1_run@1" |
1239 | 1269 | }, |
1240 | | - { |
1241 | | - "command": "dvc.stopAllRunningExperiments", |
1242 | | - "when": "view == dvc.views.experimentsTree && dvc.experiments.webview.active && dvc.experiment.running", |
1243 | | - "group": "navigation@1" |
1244 | | - }, |
1245 | 1270 | { |
1246 | 1271 | "command": "dvc.views.experimentsTree.selectExperiments", |
1247 | 1272 | "when": "view == dvc.views.experimentsTree && dvc.plots.webview.active", |
|
1287 | 1312 | "when": "view == dvc.views.experimentsTree", |
1288 | 1313 | "group": "3_queue@3" |
1289 | 1314 | }, |
1290 | | - { |
1291 | | - "command": "dvc.stopQueuedExperiments", |
1292 | | - "when": "view == dvc.views.experimentsTree", |
1293 | | - "group": "3_queue@5" |
1294 | | - }, |
1295 | 1315 | { |
1296 | 1316 | "command": "dvc.addExperimentsTableSort", |
1297 | 1317 | "when": "view == dvc.views.experimentsSortByTree", |
|
0 commit comments