mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
feat: register new code action commands in package manifest
This commit is contained in:
156
package.json
156
package.json
@@ -72,70 +72,102 @@
|
|||||||
"title": "New Task",
|
"title": "New Task",
|
||||||
"icon": "$(add)"
|
"icon": "$(add)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.mcpButtonClicked",
|
"command": "roo-cline.mcpButtonClicked",
|
||||||
"title": "MCP Servers",
|
"title": "MCP Servers",
|
||||||
"icon": "$(server)"
|
"icon": "$(server)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.promptsButtonClicked",
|
"command": "roo-cline.promptsButtonClicked",
|
||||||
"title": "Prompts",
|
"title": "Prompts",
|
||||||
"icon": "$(notebook)"
|
"icon": "$(notebook)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.historyButtonClicked",
|
"command": "roo-cline.historyButtonClicked",
|
||||||
"title": "History",
|
"title": "History",
|
||||||
"icon": "$(history)"
|
"icon": "$(history)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.popoutButtonClicked",
|
"command": "roo-cline.popoutButtonClicked",
|
||||||
"title": "Open in Editor",
|
"title": "Open in Editor",
|
||||||
"icon": "$(link-external)"
|
"icon": "$(link-external)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.settingsButtonClicked",
|
"command": "roo-cline.settingsButtonClicked",
|
||||||
"title": "Settings",
|
"title": "Settings",
|
||||||
"icon": "$(settings-gear)"
|
"icon": "$(settings-gear)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.openInNewTab",
|
"command": "roo-cline.openInNewTab",
|
||||||
"title": "Open In New Tab",
|
"title": "Open In New Tab",
|
||||||
"category": "Roo Code"
|
"category": "Roo Code"
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.explainCode",
|
||||||
|
"title": "Explain Code",
|
||||||
|
"category": "Roo Cline"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.fixCode",
|
||||||
|
"title": "Fix Code",
|
||||||
|
"category": "Roo Cline"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.improveCode",
|
||||||
|
"title": "Improve Code",
|
||||||
|
"category": "Roo Cline"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"menus": {
|
"menus": {
|
||||||
"view/title": [
|
"editor/context": [
|
||||||
{
|
{
|
||||||
"command": "roo-cline.plusButtonClicked",
|
"command": "roo-cline.explainCode",
|
||||||
"group": "navigation@1",
|
"when": "editorHasSelection",
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"group": "Roo Cline@1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.promptsButtonClicked",
|
"command": "roo-cline.fixCode",
|
||||||
"group": "navigation@2",
|
"when": "editorHasSelection",
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"group": "Roo Cline@2"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "roo-cline.mcpButtonClicked",
|
"command": "roo-cline.improveCode",
|
||||||
"group": "navigation@3",
|
"when": "editorHasSelection",
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"group": "Roo Cline@3"
|
||||||
},
|
}
|
||||||
{
|
],
|
||||||
"command": "roo-cline.historyButtonClicked",
|
"view/title": [
|
||||||
"group": "navigation@4",
|
{
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"command": "roo-cline.plusButtonClicked",
|
||||||
},
|
"group": "navigation@1",
|
||||||
{
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
"command": "roo-cline.popoutButtonClicked",
|
},
|
||||||
"group": "navigation@5",
|
{
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"command": "roo-cline.promptsButtonClicked",
|
||||||
},
|
"group": "navigation@2",
|
||||||
{
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
"command": "roo-cline.settingsButtonClicked",
|
},
|
||||||
"group": "navigation@6",
|
{
|
||||||
"when": "view == roo-cline.SidebarProvider"
|
"command": "roo-cline.mcpButtonClicked",
|
||||||
}
|
"group": "navigation@3",
|
||||||
]
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.historyButtonClicked",
|
||||||
|
"group": "navigation@4",
|
||||||
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.popoutButtonClicked",
|
||||||
|
"group": "navigation@5",
|
||||||
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "roo-cline.settingsButtonClicked",
|
||||||
|
"group": "navigation@6",
|
||||||
|
"when": "view == roo-cline.SidebarProvider"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"configuration": {
|
"configuration": {
|
||||||
"title": "Roo Code",
|
"title": "Roo Code",
|
||||||
|
|||||||
Reference in New Issue
Block a user