mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-27 15:47:01 -05:00
feat: add 'Add To Context' code action
- Add new command registration and menu item - Add new code action type and command ID - Add support prompt config for adding code to context - Add message handling in webview for setting chat box content - Add logic to append selected code to existing chat input
This commit is contained in:
10
package.json
10
package.json
@@ -118,6 +118,11 @@
|
||||
"command": "roo-cline.improveCode",
|
||||
"title": "Roo Code: Improve Code",
|
||||
"category": "Roo Code"
|
||||
},
|
||||
{
|
||||
"command": "roo-cline.addToContext",
|
||||
"title": "Roo Code: Add To Context",
|
||||
"category": "Roo Code"
|
||||
}
|
||||
],
|
||||
"menus": {
|
||||
@@ -136,6 +141,11 @@
|
||||
"command": "roo-cline.improveCode",
|
||||
"when": "editorHasSelection",
|
||||
"group": "Roo Code@3"
|
||||
},
|
||||
{
|
||||
"command": "roo-cline.addToContext",
|
||||
"when": "editorHasSelection",
|
||||
"group": "Roo Code@4"
|
||||
}
|
||||
],
|
||||
"view/title": [
|
||||
|
||||
Reference in New Issue
Block a user