add conditional visibility for prompter commands and include 'ignore' dependency

This commit is contained in:
2025-03-12 06:54:12 +00:00
parent 6e3fbd8f2b
commit 65bf168e1f

View File

@@ -50,11 +50,13 @@
"view/title": [ "view/title": [
{ {
"command": "prompter.generatePrompt", "command": "prompter.generatePrompt",
"group": "navigation@1" "group": "navigation@1",
"when": "view == prompterView"
}, },
{ {
"command": "prompter.openSettings", "command": "prompter.openSettings",
"group": "navigation@2" "group": "navigation@2",
"when": "view == prompterView"
} }
], ],
"view/item/context": [ "view/item/context": [
@@ -85,6 +87,7 @@
"typescript": "^5.7.3" "typescript": "^5.7.3"
}, },
"dependencies": { "dependencies": {
"@vscode/vsce": "^3.2.2" "@vscode/vsce": "^3.2.2",
"ignore": "^7.0.3"
} }
} }