Enhance status bar with new buttons for tree view and settings; refactor existing button setup

This commit is contained in:
2025-03-17 07:09:27 +00:00
parent d2b09eefbe
commit 7aece43a6b
3 changed files with 44 additions and 16 deletions

View File

@@ -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"
}
}
}