mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-24 06:11:11 -05:00
Add sidebar code
This commit is contained in:
40
package.json
40
package.json
@@ -12,12 +12,46 @@
|
||||
"activationEvents": [],
|
||||
"main": "./dist/extension.js",
|
||||
"contributes": {
|
||||
"viewsContainers": {
|
||||
"activitybar": [
|
||||
{
|
||||
"id": "custom-activitybar",
|
||||
"title": "VSCode Extension",
|
||||
"icon": "assets/logo_bito.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"views": {
|
||||
"custom-activitybar": [
|
||||
{
|
||||
"type": "webview",
|
||||
"id": "vscodeSidebar.openview",
|
||||
"name": "View",
|
||||
"contextualTitle": "View"
|
||||
}
|
||||
]
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "claude-dev.helloWorld",
|
||||
"title": "Hello World"
|
||||
"command": "vscodeSidebar.openview",
|
||||
"title": "Sidebar View"
|
||||
},
|
||||
{
|
||||
"command": "vscodeSidebar.menu.view",
|
||||
"category": "vscode-extension-sidebar-html",
|
||||
"title": "Sample WebView in VS Code Sidebar",
|
||||
"icon": "$(clear-all)"
|
||||
}
|
||||
]
|
||||
],
|
||||
"menus": {
|
||||
"view/title": [
|
||||
{
|
||||
"command": "vscodeSidebar.menu.view",
|
||||
"group": "navigation",
|
||||
"when": "view == vscodeSidebar.openview"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run package",
|
||||
|
||||
Reference in New Issue
Block a user