Enhance status bar with new buttons for tree view and settings; refactor existing button setup
This commit is contained in:
20
package.json
20
package.json
@@ -21,7 +21,13 @@
|
||||
},
|
||||
{
|
||||
"command": "prompter.generatePrompt",
|
||||
"title": "Copy"
|
||||
"title": "Copy",
|
||||
"icon": "$(clippy)"
|
||||
},
|
||||
{
|
||||
"command": "prompter.openTreeView",
|
||||
"title": "Show Tree View",
|
||||
"icon": "$(list-tree)"
|
||||
},
|
||||
{
|
||||
"command": "prompter.openSettings",
|
||||
@@ -42,7 +48,8 @@
|
||||
"prompter-sidebar": [
|
||||
{
|
||||
"id": "prompterView",
|
||||
"name": "Prompter"
|
||||
"name": "Prompter",
|
||||
"icon": "resources/icon.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -54,9 +61,14 @@
|
||||
"when": "view == prompterView"
|
||||
},
|
||||
{
|
||||
"command": "prompter.openSettings",
|
||||
"command": "prompter.openTreeView",
|
||||
"group": "navigation@2",
|
||||
"when": "view == prompterView"
|
||||
},
|
||||
{
|
||||
"command": "prompter.openSettings",
|
||||
"group": "navigation@3",
|
||||
"when": "view == prompterView"
|
||||
}
|
||||
],
|
||||
"view/item/context": [
|
||||
@@ -95,4 +107,4 @@
|
||||
"@vscode/vsce": "^3.2.2",
|
||||
"ignore": "^7.0.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user