Skip to content

Commit c12cfff

Browse files
committed
Reorganize undo and redo selection commands from selected files view to workspace view title menu
- move 'undo/redo' group below 'select referencing', 'select imported' - move 'undo/redo' group above 'duplicate workspace' in workspace's 'more actions' pane - remove undo/redo from 'selected files' pane
1 parent 4e970da commit c12cfff

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -612,16 +612,6 @@
612612
}
613613
],
614614
"view/title": [
615-
{
616-
"command": "codeWebChat.undoSelection",
617-
"when": "view == codeWebChatViewSelectedFiles",
618-
"group": "1_more@1"
619-
},
620-
{
621-
"command": "codeWebChat.redoSelection",
622-
"when": "view == codeWebChatViewSelectedFiles",
623-
"group": "1_more@2"
624-
},
625615
{
626616
"command": "codeWebChat.restoreFileSelection",
627617
"when": "view == codeWebChatViewSelectedFiles",
@@ -650,12 +640,12 @@
650640
{
651641
"command": "codeWebChat.selectReferencingFilesForSelected",
652642
"when": "view == codeWebChatViewSelectedFiles",
653-
"group": "2_more@1"
643+
"group": "1_more@1"
654644
},
655645
{
656646
"command": "codeWebChat.selectImportedFilesForSelected",
657647
"when": "view == codeWebChatViewSelectedFiles",
658-
"group": "2_more@2"
648+
"group": "1_more@2"
659649
},
660650
{
661651
"command": "codeWebChat.copyMarkdown",
@@ -718,10 +708,20 @@
718708
"group": "2_more@5"
719709
},
720710
{
721-
"command": "codeWebChat.duplicateWorkspace",
711+
"command": "codeWebChat.undoSelection",
722712
"when": "view == codeWebChatViewWorkspace",
723713
"group": "3_more@1"
724714
},
715+
{
716+
"command": "codeWebChat.redoSelection",
717+
"when": "view == codeWebChatViewWorkspace",
718+
"group": "3_more@2"
719+
},
720+
{
721+
"command": "codeWebChat.duplicateWorkspace",
722+
"when": "view == codeWebChatViewWorkspace",
723+
"group": "4_more@1"
724+
},
725725
{
726726
"command": "codeWebChat.checkAllOpenEditors",
727727
"when": "view == codeWebChatViewOpenEditors",

0 commit comments

Comments
 (0)