|
504 | 504 | "key": "ctrl+l alt+m",
|
505 | 505 | "mac": "cmd+l alt+m",
|
506 | 506 | "command": "latex-workshop.toggleMathPreviewPanel",
|
507 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled" |
| 507 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled" |
508 | 508 | },
|
509 | 509 | {
|
510 | 510 | "key": "ctrl+l alt+b",
|
511 | 511 | "mac": "cmd+l alt+b",
|
512 | 512 | "command": "latex-workshop.build",
|
513 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 513 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
514 | 514 | },
|
515 | 515 | {
|
516 | 516 | "key": "ctrl+l alt+c",
|
517 | 517 | "mac": "cmd+l alt+c",
|
518 | 518 | "command": "latex-workshop.clean",
|
519 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 519 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
520 | 520 | },
|
521 | 521 | {
|
522 | 522 | "key": "ctrl+l alt+v",
|
523 | 523 | "mac": "cmd+l alt+v",
|
524 | 524 | "command": "latex-workshop.view",
|
525 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 525 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
526 | 526 | },
|
527 | 527 | {
|
528 | 528 | "key": "ctrl+l alt+j",
|
529 | 529 | "mac": "cmd+l alt+j",
|
530 | 530 | "command": "latex-workshop.synctex",
|
531 |
| - "when": "editorTextFocus && editorLangId == 'latex' && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 531 | + "when": "editorTextFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$/ && config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
532 | 532 | },
|
533 | 533 | {
|
534 | 534 | "key": "ctrl+l alt+x",
|
|
540 | 540 | "key": "ctrl+alt+m",
|
541 | 541 | "mac": "cmd+alt+m",
|
542 | 542 | "command": "latex-workshop.toggleMathPreviewPanel",
|
543 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled" |
| 543 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled" |
544 | 544 | },
|
545 | 545 | {
|
546 | 546 | "key": "ctrl+alt+b",
|
547 | 547 | "mac": "cmd+alt+b",
|
548 | 548 | "command": "latex-workshop.build",
|
549 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 549 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
550 | 550 | },
|
551 | 551 | {
|
552 | 552 | "key": "ctrl+alt+c",
|
553 | 553 | "mac": "cmd+alt+c",
|
554 | 554 | "command": "latex-workshop.clean",
|
555 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 555 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
556 | 556 | },
|
557 | 557 | {
|
558 | 558 | "key": "ctrl+alt+v",
|
559 | 559 | "mac": "cmd+alt+v",
|
560 | 560 | "command": "latex-workshop.view",
|
561 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 561 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
562 | 562 | },
|
563 | 563 | {
|
564 | 564 | "key": "ctrl+alt+j",
|
565 | 565 | "mac": "cmd+alt+j",
|
566 | 566 | "command": "latex-workshop.synctex",
|
567 |
| - "when": "editorTextFocus && editorLangId == 'latex' && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
| 567 | + "when": "editorTextFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$/ && !config.latex-workshop.bind.altKeymap.enabled && !virtualWorkspace" |
568 | 568 | },
|
569 | 569 | {
|
570 | 570 | "key": "ctrl+alt+x",
|
|
575 | 575 | {
|
576 | 576 | "key": "ctrl+l [",
|
577 | 577 | "mac": "cmd+l [",
|
578 |
| - "when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 578 | + "when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
579 | 579 | "command": "latex-workshop.promote-sectioning"
|
580 | 580 | },
|
581 | 581 | {
|
582 | 582 | "key": "ctrl+l ]",
|
583 | 583 | "mac": "cmd+l ]",
|
584 |
| - "when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 584 | + "when": "config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
585 | 585 | "command": "latex-workshop.demote-sectioning"
|
586 | 586 | },
|
587 | 587 | {
|
588 | 588 | "key": "ctrl+alt+[",
|
589 | 589 | "mac": "cmd+alt+[",
|
590 |
| - "when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 590 | + "when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
591 | 591 | "command": "latex-workshop.promote-sectioning"
|
592 | 592 | },
|
593 | 593 | {
|
594 | 594 | "key": "ctrl+alt+]",
|
595 | 595 | "mac": "cmd+alt+]",
|
596 |
| - "when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 596 | + "when": "!config.latex-workshop.bind.altKeymap.enabled && editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
597 | 597 | "command": "latex-workshop.demote-sectioning"
|
598 | 598 | },
|
599 | 599 | {
|
600 | 600 | "key": "ctrl+l ctrl+enter",
|
601 | 601 | "mac": "cmd+l cmd+enter",
|
602 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 602 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
603 | 603 | "command": "latex-workshop.shortcut.item"
|
604 | 604 | },
|
605 | 605 | {
|
606 | 606 | "key": "ctrl+l ctrl+b",
|
607 | 607 | "mac": "cmd+l cmd+b",
|
608 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 608 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
609 | 609 | "command": "latex-workshop.shortcut.textbf"
|
610 | 610 | },
|
611 | 611 | {
|
612 | 612 | "key": "ctrl+l ctrl+i",
|
613 | 613 | "mac": "cmd+l cmd+i",
|
614 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 614 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
615 | 615 | "command": "latex-workshop.shortcut.textit"
|
616 | 616 | },
|
617 | 617 | {
|
618 | 618 | "key": "ctrl+l ctrl+u",
|
619 | 619 | "mac": "cmd+l cmd+u",
|
620 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 620 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
621 | 621 | "command": "latex-workshop.shortcut.underline"
|
622 | 622 | },
|
623 | 623 | {
|
624 | 624 | "key": "ctrl+l ctrl+e",
|
625 | 625 | "mac": "cmd+l cmd+e",
|
626 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 626 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
627 | 627 | "command": "latex-workshop.shortcut.emph"
|
628 | 628 | },
|
629 | 629 | {
|
630 | 630 | "key": "ctrl+l ctrl+r",
|
631 | 631 | "mac": "cmd+l cmd+r",
|
632 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 632 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
633 | 633 | "command": "latex-workshop.shortcut.textrm"
|
634 | 634 | },
|
635 | 635 | {
|
636 | 636 | "key": "ctrl+l ctrl+t",
|
637 | 637 | "mac": "cmd+l cmd+t",
|
638 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 638 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
639 | 639 | "command": "latex-workshop.shortcut.texttt"
|
640 | 640 | },
|
641 | 641 | {
|
642 | 642 | "key": "ctrl+l ctrl+s",
|
643 | 643 | "mac": "cmd+l cmd+s",
|
644 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 644 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
645 | 645 | "command": "latex-workshop.shortcut.textsl"
|
646 | 646 | },
|
647 | 647 | {
|
648 | 648 | "key": "ctrl+l ctrl+c",
|
649 | 649 | "mac": "cmd+l cmd+c",
|
650 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 650 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
651 | 651 | "command": "latex-workshop.shortcut.textsc"
|
652 | 652 | },
|
653 | 653 | {
|
654 | 654 | "key": "ctrl+l ctrl+n",
|
655 | 655 | "mac": "cmd+l cmd+n",
|
656 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 656 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
657 | 657 | "command": "latex-workshop.shortcut.textnormal"
|
658 | 658 | },
|
659 | 659 | {
|
660 | 660 | "key": "ctrl+l ctrl+6",
|
661 | 661 | "mac": "cmd+l cmd+6",
|
662 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 662 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
663 | 663 | "command": "latex-workshop.shortcut.textsuperscript"
|
664 | 664 | },
|
665 | 665 | {
|
666 | 666 | "key": "ctrl+l ctrl+oem_minus",
|
667 | 667 | "mac": "cmd+l cmd+oem_minus",
|
668 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 668 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
669 | 669 | "command": "latex-workshop.shortcut.textsubscript"
|
670 | 670 | },
|
671 | 671 | {
|
672 | 672 | "key": "ctrl+m ctrl+b",
|
673 | 673 | "mac": "ctrl+shift+m cmd+b",
|
674 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 674 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
675 | 675 | "command": "latex-workshop.shortcut.mathbf"
|
676 | 676 | },
|
677 | 677 | {
|
678 | 678 | "key": "ctrl+m ctrl+i",
|
679 | 679 | "mac": "ctrl+shift+m cmd+i",
|
680 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 680 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
681 | 681 | "command": "latex-workshop.shortcut.mathit"
|
682 | 682 | },
|
683 | 683 | {
|
684 | 684 | "key": "ctrl+m ctrl+r",
|
685 | 685 | "mac": "ctrl+shift+m cmd+r",
|
686 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 686 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
687 | 687 | "command": "latex-workshop.shortcut.mathrm"
|
688 | 688 | },
|
689 | 689 | {
|
690 | 690 | "key": "ctrl+m ctrl+t",
|
691 | 691 | "mac": "ctrl+shift+m cmd+t",
|
692 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 692 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
693 | 693 | "command": "latex-workshop.shortcut.mathtt"
|
694 | 694 | },
|
695 | 695 | {
|
696 | 696 | "key": "ctrl+m ctrl+s",
|
697 | 697 | "mac": "ctrl+shift+m cmd+s",
|
698 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 698 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
699 | 699 | "command": "latex-workshop.shortcut.mathsf"
|
700 | 700 | },
|
701 | 701 | {
|
702 | 702 | "key": "ctrl+m ctrl+shift+b",
|
703 | 703 | "mac": "ctrl+shift+m cmd+shift+b",
|
704 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 704 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
705 | 705 | "command": "latex-workshop.shortcut.mathbb"
|
706 | 706 | },
|
707 | 707 | {
|
708 | 708 | "key": "ctrl+m ctrl+c",
|
709 | 709 | "mac": "ctrl+shift+m cmd+c",
|
710 |
| - "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 710 | + "when": "editorTextFocus && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
711 | 711 | "command": "latex-workshop.shortcut.mathcal"
|
712 | 712 | },
|
713 | 713 | {
|
714 | 714 | "command": "expandLineSelection",
|
715 | 715 | "key": "ctrl+l ctrl+l",
|
716 | 716 | "mac": "cmd+l cmd+l",
|
717 |
| - "when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/" |
| 717 | + "when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/" |
718 | 718 | },
|
719 | 719 | {
|
720 | 720 | "command": "editor.action.toggleTabFocusMode",
|
721 | 721 | "key": "ctrl+l ctrl+m",
|
722 | 722 | "mac": "cmd+l ctrl+shift+m",
|
723 |
| - "when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/" |
| 723 | + "when": "textInputFocus && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/" |
724 | 724 | },
|
725 | 725 | {
|
726 | 726 | "key": "ctrl+l ctrl+w",
|
727 | 727 | "mac": "cmd+l cmd+w",
|
728 |
| - "when": "editorTextFocus && !editorReadonly && editorHasSelection && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/", |
| 728 | + "when": "editorTextFocus && !editorReadonly && editorHasSelection && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/", |
729 | 729 | "command": "latex-workshop.surround"
|
730 | 730 | },
|
731 | 731 | {
|
732 | 732 | "command": "latex-workshop.onEnterKey",
|
733 | 733 | "key": "enter",
|
734 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'" |
| 734 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'" |
735 | 735 | },
|
736 | 736 | {
|
737 | 737 | "command": "latex-workshop.onEnterKey",
|
738 | 738 | "key": "enter",
|
739 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'" |
| 739 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && vim.active && vim.mode == 'Insert'" |
740 | 740 | },
|
741 | 741 | {
|
742 | 742 | "command": "latex-workshop.onEnterKey",
|
743 | 743 | "key": "enter",
|
744 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !vim.active" |
| 744 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !vim.active" |
745 | 745 | },
|
746 | 746 | {
|
747 | 747 | "command": "latex-workshop.onEnterKey",
|
748 | 748 | "key": "enter",
|
749 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !vim.active" |
| 749 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !vim.active" |
750 | 750 | },
|
751 | 751 | {
|
752 | 752 | "command": "latex-workshop.onAltEnterKey",
|
753 | 753 | "key": "alt+enter",
|
754 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/" |
| 754 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && acceptSuggestionOnEnter && !suggestWidgetVisible && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/" |
755 | 755 | },
|
756 | 756 | {
|
757 | 757 | "command": "latex-workshop.onAltEnterKey",
|
758 | 758 | "key": "alt+enter",
|
759 |
| - "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/" |
| 759 | + "when": "config.latex-workshop.bind.enter.key && editorTextFocus && !acceptSuggestionOnEnter && !editorReadonly && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/" |
760 | 760 | }
|
761 | 761 | ],
|
762 | 762 | "configurationDefaults": {
|
|
2477 | 2477 | "menus": {
|
2478 | 2478 | "editor/context": [
|
2479 | 2479 | {
|
2480 |
| - "when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
| 2480 | + "when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
2481 | 2481 | "command": "latex-workshop.build",
|
2482 | 2482 | "group": "navigation@100"
|
2483 | 2483 | },
|
2484 | 2484 | {
|
2485 |
| - "when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
| 2485 | + "when": "config.latex-workshop.showContextMenu && editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
2486 | 2486 | "command": "latex-workshop.synctex",
|
2487 | 2487 | "group": "navigation@101"
|
2488 | 2488 | }
|
2489 | 2489 | ],
|
2490 | 2490 | "editor/title": [
|
2491 | 2491 | {
|
2492 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
| 2492 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
2493 | 2493 | "command": "latex-workshop.view",
|
2494 | 2494 | "group": "navigation@2"
|
2495 | 2495 | },
|
2496 | 2496 | {
|
2497 |
| - "when": "editorLangId =~ /^latex$|^latex-expl3$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
| 2497 | + "when": "editorLangId =~ /^latex$|^latex-expl3$|^doctex$|^rsweave$|^jlweave$|^pweave$/ && !virtualWorkspace", |
2498 | 2498 | "command": "latex-workshop.build",
|
2499 | 2499 | "group": "navigation@1"
|
2500 | 2500 | }
|
|
0 commit comments