Skip to content

Commit aa2eb30

Browse files
authored
Merge pull request #6087 from continuedev/edit-submenu
add "Edit Highlighted Code" submenu item
2 parents 154b31b + 806126a commit aa2eb30

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

extensions/vscode/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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",

0 commit comments

Comments
 (0)