Skip to content

Commit 1a73976

Browse files
committed
(GH-505) PDK New Module Button Visibility Setting
This commit introduces a new setting to allow the user to hide the `PDK New Module` button in the Editor Title Bar.
1 parent 61e9fec commit 1a73976

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226
"editor/title": [
227227
{
228228
"command": "extension.pdkNewModule",
229+
"when": "config.puppet.titleBar.pdkNewModule.enable",
229230
"group": "navigation@100"
230231
},
231232
{
@@ -423,6 +424,11 @@
423424
"none"
424425
]
425426
},
427+
"puppet.titleBar.pdkNewModule.enable": {
428+
"type": "boolean",
429+
"default": true,
430+
"description": "Enable/disable the PDK New Module icon in the Editor Title Bar"
431+
},
426432
"puppet.editorService.modulePath": {
427433
"description": "**DEPRECATED** Please use puppet.editorService.puppet.modulePath instead"
428434
},

0 commit comments

Comments
 (0)