Skip to content

Commit 049c34d

Browse files
committed
Reorganize title menu items for the selected files view
- move 'search in selected files' on the selected files toolbar to 'more action', as first item, place separator below. - move middle section to the end
1 parent d5b7e01 commit 049c34d

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -604,11 +604,6 @@
604604
}
605605
],
606606
"view/title": [
607-
{
608-
"command": "codeWebChat.searchSelectedFiles",
609-
"when": "view == codeWebChatViewSelectedFiles",
610-
"group": "navigation@1"
611-
},
612607
{
613608
"command": "codeWebChat.undoSelection",
614609
"when": "view == codeWebChatViewWorkspace",
@@ -622,33 +617,28 @@
622617
{
623618
"command": "codeWebChat.restoreFileSelection",
624619
"when": "view == codeWebChatViewSelectedFiles",
625-
"group": "navigation@2"
620+
"group": "navigation@1"
626621
},
627622
{
628623
"command": "codeWebChat.saveFileSelection",
629624
"when": "view == codeWebChatViewSelectedFiles",
630-
"group": "navigation@3"
625+
"group": "navigation@2"
631626
},
632627
{
633628
"command": "codeWebChat.expandContextFolders",
634629
"when": "view == codeWebChatViewSelectedFiles",
635-
"group": "navigation@4"
630+
"group": "navigation@3"
636631
},
637632
{
638633
"command": "codeWebChat.collapseContextFolders",
639634
"when": "view == codeWebChatViewSelectedFiles",
640-
"group": "navigation@5"
635+
"group": "navigation@4"
641636
},
642637
{
643-
"command": "codeWebChat.copyMarkdown",
638+
"command": "codeWebChat.searchSelectedFiles",
644639
"when": "view == codeWebChatViewSelectedFiles",
645640
"group": "1_more@1"
646641
},
647-
{
648-
"command": "codeWebChat.copyPaths",
649-
"when": "view == codeWebChatViewSelectedFiles",
650-
"group": "1_more@2"
651-
},
652642
{
653643
"command": "codeWebChat.selectReferencingFilesForSelected",
654644
"when": "view == codeWebChatViewSelectedFiles",
@@ -659,6 +649,16 @@
659649
"when": "view == codeWebChatViewSelectedFiles",
660650
"group": "2_more@2"
661651
},
652+
{
653+
"command": "codeWebChat.copyMarkdown",
654+
"when": "view == codeWebChatViewSelectedFiles",
655+
"group": "3_more@1"
656+
},
657+
{
658+
"command": "codeWebChat.copyPaths",
659+
"when": "view == codeWebChatViewSelectedFiles",
660+
"group": "3_more@2"
661+
},
662662
{
663663
"command": "codeWebChat.searchFilesWorkspaceAction",
664664
"when": "view == codeWebChatViewWorkspace",

0 commit comments

Comments
 (0)