|
340 | 340 | "title": "%python.command.python.datascience.showhistorypane.title%", |
341 | 341 | "category": "Python" |
342 | 342 | }, |
| 343 | + { |
| 344 | + "command": "python.datascience.runFileInteractive", |
| 345 | + "title": "%python.command.python.datascience.runFileInteractive.title%", |
| 346 | + "category": "Python" |
| 347 | + }, |
343 | 348 | { |
344 | 349 | "command": "python.datascience.runallcells", |
345 | | - "title": "%python.command.python.datascience.runallcells.command.title%", |
| 350 | + "title": "%python.command.python.datascience.runallcells.title%", |
346 | 351 | "category": "Python" |
347 | 352 | }, |
348 | 353 | { |
|
472 | 477 | "command": "python.runCurrentTestFile", |
473 | 478 | "group": "Python" |
474 | 479 | }, |
| 480 | + { |
| 481 | + "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled", |
| 482 | + "command": "python.datascience.runallcells", |
| 483 | + "group": "Python2" |
| 484 | + }, |
475 | 485 | { |
476 | 486 | "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled", |
477 | 487 | "command": "python.datascience.runcurrentcell", |
478 | | - "group": "Python" |
| 488 | + "group": "Python2" |
479 | 489 | }, |
480 | 490 | { |
481 | 491 | "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled", |
482 | 492 | "command": "python.datascience.runcurrentcelladvance", |
483 | | - "group": "Python" |
| 493 | + "group": "Python2" |
484 | 494 | }, |
485 | 495 | { |
486 | | - "command": "python.datascience.runallcells", |
487 | | - "group": "Python", |
488 | | - "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled" |
| 496 | + "command": "python.datascience.runFileInteractive", |
| 497 | + "group": "Python2", |
| 498 | + "when": "editorFocus && editorLangId == python && python.datascience.featureenabled" |
489 | 499 | }, |
490 | 500 | { |
491 | 501 | "command": "python.datascience.runfromline", |
492 | | - "group": "Python", |
| 502 | + "group": "Python2", |
493 | 503 | "when": "editorFocus && editorLangId == python && python.datascience.ownsSelection && python.datascience.featureenabled" |
494 | 504 | }, |
495 | 505 | { |
496 | 506 | "command": "python.datascience.runtoline", |
497 | | - "group": "Python", |
| 507 | + "group": "Python2", |
498 | 508 | "when": "editorFocus && editorLangId == python && python.datascience.ownsSelection && python.datascience.featureenabled" |
499 | 509 | }, |
500 | 510 | { |
501 | 511 | "command": "python.datascience.execSelectionInteractive", |
502 | | - "group": "Python", |
| 512 | + "group": "Python2", |
503 | 513 | "when": "editorFocus && editorLangId == python && python.datascience.featureenabled && python.datascience.ownsSelection" |
504 | 514 | }, |
505 | 515 | { |
506 | 516 | "when": "editorFocus && editorLangId == python && resourceLangId == jupyter && python.datascience.featureenabled", |
507 | 517 | "command": "python.datascience.importnotebook", |
508 | | - "group": "Python" |
| 518 | + "group": "Python3@1" |
509 | 519 | }, |
510 | 520 | { |
511 | 521 | "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled", |
512 | 522 | "command": "python.datascience.exportfileasnotebook", |
513 | | - "group": "Python2" |
| 523 | + "group": "Python3@2" |
514 | 524 | }, |
515 | 525 | { |
516 | 526 | "when": "editorFocus && editorLangId == python && python.datascience.hascodecells && python.datascience.featureenabled", |
517 | 527 | "command": "python.datascience.exportfileandoutputasnotebook", |
518 | | - "group": "Python2@2" |
| 528 | + "group": "Python3@3" |
519 | 529 | } |
520 | 530 | ], |
521 | 531 | "explorer/context": [ |
|
534 | 544 | "command": "python.execInTerminal", |
535 | 545 | "group": "Python" |
536 | 546 | }, |
| 547 | + { |
| 548 | + "when": "resourceLangId == python && python.datascience.featureenabled", |
| 549 | + "command": "python.datascience.runFileInteractive", |
| 550 | + "group": "Python2" |
| 551 | + }, |
537 | 552 | { |
538 | 553 | "when": "resourceLangId == jupyter", |
539 | 554 | "command": "python.datascience.importnotebook", |
|
594 | 609 | }, |
595 | 610 | { |
596 | 611 | "command": "python.datascience.runallcells", |
597 | | - "title": "%python.command.python.datascience.runallcells.command.title%", |
| 612 | + "title": "%python.command.python.datascience.runallcells.title%", |
598 | 613 | "category": "Python", |
599 | 614 | "when": "python.datascience.featureenabled" |
600 | 615 | }, |
|
604 | 619 | "category": "Python", |
605 | 620 | "when": "python.datascience.featureenabled" |
606 | 621 | }, |
| 622 | + { |
| 623 | + "command": "python.datascience.runFileInteractive", |
| 624 | + "title": "%python.command.python.datascience.runFileInteractive.title%", |
| 625 | + "category": "Python", |
| 626 | + "when": "python.datascience.featureenabled" |
| 627 | + }, |
607 | 628 | { |
608 | 629 | "command": "python.datascience.importnotebook", |
609 | 630 | "title": "%python.command.python.datascience.importnotebook.title%", |
|
0 commit comments