Elffuss BraidHub

kikocis/continue public

Merge pull request #6087 from continuedev/edit-submenu

add "Edit Highlighted Code" submenu item
Changesetfc9a1d0481d12fd74cb90abbfae086b60b9e328833067a1071ce69b73d45fe64
AuthorTy Dunn <ty@tydunn.com> · 2025-06-12 11:07 -07:00
CommitterGitHub <noreply@github.com> · 2025-06-12 11:07 -07:00
Parentsea675877d1a2, ba349f7b1d45

Browse the files at this changeset

1 file changed

modified extensions/vscode/package.json +6 −1
@@ -178,7 +178,7 @@
178178 {
179179 "command": "continue.focusEdit",
180180 "category": "Continue",
181- "title": "Generate Code",
181+ "title": "Edit Highlighted Code",
182182 "group": "Continue"
183183 },
184184 {
@@ -463,6 +463,11 @@
463463 "group": "Continue",
464464 "when": "editorHasSelection"
465465 },
466+ {
467+ "command": "continue.focusEdit",
468+ "group": "Continue",
469+ "when": "editorHasSelection && !editorReadonly"
470+ },
466471 {
467472 "command": "continue.writeCommentsForCode",
468473 "group": "Continue",