Skip to content

Commit a49cb8a

Browse files
committed
Implement temporary checkpoints to allow immediate reversion of workspace restorations
1 parent 5c26fb7 commit a49cb8a

3 files changed

Lines changed: 159 additions & 78 deletions

File tree

‎packages/vscode/package.json‎

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@
103103
"category": "Code Web Chat",
104104
"icon": "$(copy)"
105105
},
106+
{
107+
"command": "codeWebChat.duplicateWorkspace",
108+
"title": "Duplicate Workspace in New Window",
109+
"category": "Code Web Chat",
110+
"icon": "$(multiple-windows)"
111+
},
106112
{
107113
"command": "codeWebChat.copyContextOpenEditors",
108114
"title": "Copy Context of Open Editors",
@@ -367,6 +373,10 @@
367373
"command": "codeWebChat.copyContext",
368374
"when": "false"
369375
},
376+
{
377+
"command": "codeWebChat.duplicateWorkspace",
378+
"when": "false"
379+
},
370380
{
371381
"command": "codeWebChat.settings",
372382
"when": "false"
@@ -396,40 +406,45 @@
396406
{
397407
"command": "codeWebChat.checkpoints",
398408
"when": "view == codeWebChatViewWorkspace",
399-
"group": "navigation@3"
409+
"group": "navigation@4"
410+
},
411+
{
412+
"command": "codeWebChat.duplicateWorkspace",
413+
"when": "view == codeWebChatViewWorkspace",
414+
"group": "navigation@5"
400415
},
401416
{
402417
"command": "codeWebChat.copyContext",
403418
"when": "view == codeWebChatViewWorkspace",
404-
"group": "navigation@4"
419+
"group": "navigation@3"
405420
},
406421
{
407422
"command": "codeWebChat.newFile",
408423
"when": "view == codeWebChatViewWorkspace",
409-
"group": "navigation@5"
424+
"group": "navigation@6"
410425
},
411426
{
412427
"command": "codeWebChat.newFolder",
413428
"when": "view == codeWebChatViewWorkspace",
414-
"group": "navigation@6"
429+
"group": "navigation@7"
415430
},
416431
{
417432
"command": "codeWebChat.collapseFolders",
418433
"when": "view == codeWebChatViewWorkspace",
419-
"group": "navigation@7"
434+
"group": "navigation@8"
420435
},
421436
{
422-
"command": "codeWebChat.copyContextOpenEditors",
437+
"command": "codeWebChat.checkAllOpenEditors",
423438
"when": "view == codeWebChatViewOpenEditors",
424439
"group": "navigation@1"
425440
},
426441
{
427-
"command": "codeWebChat.checkAllOpenEditors",
442+
"command": "codeWebChat.clearChecksOpenEditors",
428443
"when": "view == codeWebChatViewOpenEditors",
429444
"group": "navigation@2"
430445
},
431446
{
432-
"command": "codeWebChat.clearChecksOpenEditors",
447+
"command": "codeWebChat.copyContextOpenEditors",
433448
"when": "view == codeWebChatViewOpenEditors",
434449
"group": "navigation@3"
435450
},

0 commit comments

Comments
 (0)