|
394 | 394 | "command": "codeWebChat.codeAtCursorWithInstructionsUsing", |
395 | 395 | "group": "1_action@4" |
396 | 396 | }, |
397 | | - { |
398 | | - "command": "codeWebChat.checkDefinitionFileForContext", |
399 | | - "group": "1_action@6" |
400 | | - }, |
401 | 397 | { |
402 | 398 | "command": "codeWebChat.checkReferencingFilesForContext", |
403 | 399 | "group": "1_action@5" |
| 400 | + }, |
| 401 | + { |
| 402 | + "command": "codeWebChat.checkDefinitionFileForContext", |
| 403 | + "group": "1_action@6" |
404 | 404 | } |
405 | 405 | ], |
406 | 406 | "commandPalette": [ |
|
576 | 576 | "when": "view == codeWebChatViewWorkspace", |
577 | 577 | "group": "navigation@2" |
578 | 578 | }, |
| 579 | + { |
| 580 | + "command": "codeWebChat.copyContext", |
| 581 | + "when": "view == codeWebChatViewWorkspace", |
| 582 | + "group": "navigation@3" |
| 583 | + }, |
579 | 584 | { |
580 | 585 | "command": "codeWebChat.searchFilesForContext", |
581 | 586 | "when": "view == codeWebChatViewWorkspace", |
|
601 | 606 | "when": "view == codeWebChatViewWorkspace", |
602 | 607 | "group": "navigation@8" |
603 | 608 | }, |
604 | | - { |
605 | | - "command": "codeWebChat.copyContext", |
606 | | - "when": "view == codeWebChatViewWorkspace", |
607 | | - "group": "navigation@3" |
608 | | - }, |
609 | 609 | { |
610 | 610 | "command": "codeWebChat.collapseWorkspaceFolders", |
611 | 611 | "when": "view == codeWebChatViewWorkspace", |
|
637 | 637 | "group": "navigation@5" |
638 | 638 | }, |
639 | 639 | { |
640 | | - "command": "codeWebChat.openRepository", |
| 640 | + "command": "codeWebChat.documentation", |
641 | 641 | "when": "view == codeWebChatView", |
642 | | - "group": "navigation@2" |
| 642 | + "group": "navigation@1" |
643 | 643 | }, |
644 | 644 | { |
645 | | - "command": "codeWebChat.documentation", |
| 645 | + "command": "codeWebChat.openRepository", |
646 | 646 | "when": "view == codeWebChatView", |
647 | | - "group": "navigation@1" |
| 647 | + "group": "navigation@2" |
648 | 648 | } |
649 | 649 | ], |
650 | 650 | "scm/title": [ |
|
682 | 682 | "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
683 | 683 | "group": "1_modification@2" |
684 | 684 | }, |
685 | | - { |
686 | | - "command": "codeWebChat.selectImportedFiles", |
687 | | - "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
688 | | - "group": "2_modification@2" |
689 | | - }, |
690 | 685 | { |
691 | 686 | "command": "codeWebChat.referenceInPrompt", |
692 | 687 | "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
693 | 688 | "group": "2_modification@1" |
694 | 689 | }, |
695 | 690 | { |
696 | | - "command": "codeWebChat.revealInExplorer", |
| 691 | + "command": "codeWebChat.selectImportedFiles", |
697 | 692 | "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
698 | | - "group": "2_modification@3" |
| 693 | + "group": "2_modification@2" |
699 | 694 | }, |
700 | 695 | { |
701 | 696 | "command": "codeWebChat.setRanges", |
702 | 697 | "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
703 | | - "group": "2_modification@4" |
704 | | - }, |
705 | | - { |
706 | | - "command": "codeWebChat.openInIntegratedTerminal", |
707 | | - "when": "view == codeWebChatViewWorkspace && (viewItem == workspaceRoot || viewItem == directory)", |
708 | | - "group": "1_modification@10" |
| 698 | + "group": "2_modification@3" |
709 | 699 | }, |
710 | 700 | { |
711 | | - "command": "codeWebChat.removeFolderFromWorkspace", |
712 | | - "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == workspaceRoot || viewItem == contextWorkspaceRoot) && workspaceFolderCount > 1", |
713 | | - "group": "1_modification@11" |
| 701 | + "command": "codeWebChat.revealInExplorer", |
| 702 | + "when": "view == codeWebChatViewOpenEditors && viewItem == openEditor", |
| 703 | + "group": "2_modification@4" |
714 | 704 | }, |
715 | 705 | { |
716 | 706 | "command": "codeWebChat.newFile", |
|
732 | 722 | "when": "view == codeWebChatViewWorkspace", |
733 | 723 | "group": "1_creation@4" |
734 | 724 | }, |
735 | | - { |
736 | | - "command": "codeWebChat.selectImportedFiles", |
737 | | - "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == file || viewItem == contextFile || viewItem == directory)", |
738 | | - "group": "1_modification@4" |
739 | | - }, |
740 | 725 | { |
741 | 726 | "command": "codeWebChat.referenceInPrompt", |
742 | 727 | "when": "view == codeWebChatViewWorkspace || view == codeWebChatViewContext", |
743 | 728 | "group": "1_modification@3" |
744 | 729 | }, |
| 730 | + { |
| 731 | + "command": "codeWebChat.selectImportedFiles", |
| 732 | + "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == file || viewItem == contextFile || viewItem == directory)", |
| 733 | + "group": "1_modification@4" |
| 734 | + }, |
745 | 735 | { |
746 | 736 | "command": "codeWebChat.searchFilesForContextFromDirectory", |
747 | 737 | "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)", |
|
752 | 742 | "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)", |
753 | 743 | "group": "1_modification@6" |
754 | 744 | }, |
| 745 | + { |
| 746 | + "command": "codeWebChat.setRanges", |
| 747 | + "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && viewItem == file", |
| 748 | + "group": "1_modification@7" |
| 749 | + }, |
| 750 | + { |
| 751 | + "command": "codeWebChat.removeFolderFromWorkspace", |
| 752 | + "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == workspaceRoot || viewItem == contextWorkspaceRoot) && workspaceFolderCount > 1", |
| 753 | + "group": "1_modification@8" |
| 754 | + }, |
755 | 755 | { |
756 | 756 | "command": "codeWebChat.findInFolder", |
757 | 757 | "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)", |
758 | | - "group": "1_modification@7" |
| 758 | + "group": "2_external@1" |
759 | 759 | }, |
760 | 760 | { |
761 | 761 | "command": "codeWebChat.revealInExplorer", |
762 | 762 | "when": "view == codeWebChatViewWorkspace || view == codeWebChatViewContext", |
763 | | - "group": "1_modification@8" |
| 763 | + "group": "2_external@2" |
764 | 764 | }, |
765 | 765 | { |
766 | | - "command": "codeWebChat.setRanges", |
767 | | - "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && viewItem == file", |
768 | | - "group": "1_modification@9" |
| 766 | + "command": "codeWebChat.openInIntegratedTerminal", |
| 767 | + "when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewContext) && (viewItem == workspaceRoot || viewItem == directory || viewItem == contextWorkspaceRoot || viewItem == contextDirectory)", |
| 768 | + "group": "2_external@3" |
769 | 769 | } |
770 | 770 | ] |
771 | 771 | }, |
|
0 commit comments