From dd162c889d5bf69ca07e690a56951722072f92d4 Mon Sep 17 00:00:00 2001 From: Jacob Kim Date: Thu, 17 Jul 2025 14:15:00 -0700 Subject: [PATCH] feat: add jump commands --- extensions/vscode/package.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index f7c6b6ea5..923343624 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -350,6 +350,16 @@ "category": "Continue", "title": "Continue: Force Next Edit" }, + { + "command": "continue.acceptJump", + "category": "Continue", + "title": "Continue: Accept Jump Suggestion" + }, + { + "command": "continue.rejectJump", + "category": "Continue", + "title": "Continue: Reject Jump Suggestion" + }, { "command": "continue.generateRule", "category": "Continue", @@ -451,12 +461,22 @@ { "command": "continue.nextEditWindow.hideNextEditSuggestion", "key": "escape", - "when": "editorTextFocus && nextEditWindowActive" + "when": "editorTextFocus && nextEditWindowActive && !continue.jumpDecorationVisible" }, { "command": "continue.nextEditWindow.acceptNextEditSuggestion", "key": "tab", - "when": "editorTextFocus && nextEditWindowActive" + "when": "editorTextFocus && nextEditWindowActive && !continue.jumpDecorationVisible" + }, + { + "command": "continue.acceptJump", + "key": "tab", + "when": "editorTextFocus && continue.jumpDecorationVisible" + }, + { + "command": "continue.rejectJump", + "key": "escape", + "when": "editorTextFocus && continue.jumpDecorationVisible" } ], "submenus": [