Skip to content

Commit 008a284

Browse files
authored
Merge pull request #510 from jpogran/GH-505-hide-pdk-new-module-button
(GH-505) PDK New Module Button Visibility Setting
2 parents c00a5f5 + 1a73976 commit 008a284

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
{
@@ -428,6 +429,11 @@
428429
"none"
429430
]
430431
},
432+
"puppet.titleBar.pdkNewModule.enable": {
433+
"type": "boolean",
434+
"default": true,
435+
"description": "Enable/disable the PDK New Module icon in the Editor Title Bar"
436+
},
431437
"puppet.editorService.modulePath": {
432438
"description": "**DEPRECATED** Please use puppet.editorService.puppet.modulePath instead"
433439
},

0 commit comments

Comments
 (0)