Skip to content

Commit 5c26fb7

Browse files
committed
Implement the Checkpoints feature, allowing users to save and restore workspace states, and integrate the command into the activity bar view
1 parent 3285fcb commit 5c26fb7

6 files changed

Lines changed: 594 additions & 12 deletions

File tree

‎packages/vscode/package.json‎

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@
8888
"icon": "resources/activity-bar-icon.svg",
8989
"visibility": "collapsed"
9090
},
91-
{
92-
"id": "codeWebChatViewCheckpoints",
93-
"name": "Checkpoints",
94-
"icon": "resources/activity-bar-icon.svg",
95-
"visibility": "collapsed"
96-
},
9791
{
9892
"id": "codeWebChatView",
9993
"name": "Code Web Chat",
@@ -266,6 +260,12 @@
266260
"title": "Reference in Chat",
267261
"category": "Code Web Chat"
268262
},
263+
{
264+
"command": "codeWebChat.checkpoints",
265+
"title": "Checkpoints",
266+
"category": "Code Web Chat",
267+
"icon": "$(history)"
268+
},
269269
{
270270
"command": "codeWebChat.settings",
271271
"title": "Settings",
@@ -394,25 +394,30 @@
394394
"group": "navigation@2"
395395
},
396396
{
397-
"command": "codeWebChat.copyContext",
397+
"command": "codeWebChat.checkpoints",
398398
"when": "view == codeWebChatViewWorkspace",
399399
"group": "navigation@3"
400400
},
401401
{
402-
"command": "codeWebChat.newFile",
402+
"command": "codeWebChat.copyContext",
403403
"when": "view == codeWebChatViewWorkspace",
404404
"group": "navigation@4"
405405
},
406406
{
407-
"command": "codeWebChat.newFolder",
407+
"command": "codeWebChat.newFile",
408408
"when": "view == codeWebChatViewWorkspace",
409409
"group": "navigation@5"
410410
},
411411
{
412-
"command": "codeWebChat.collapseFolders",
412+
"command": "codeWebChat.newFolder",
413413
"when": "view == codeWebChatViewWorkspace",
414414
"group": "navigation@6"
415415
},
416+
{
417+
"command": "codeWebChat.collapseFolders",
418+
"when": "view == codeWebChatViewWorkspace",
419+
"group": "navigation@7"
420+
},
416421
{
417422
"command": "codeWebChat.copyContextOpenEditors",
418423
"when": "view == codeWebChatViewOpenEditors",

0 commit comments

Comments
 (0)