add conditional visibility for prompter commands and include 'ignore' dependency
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user