Skip to content

Commit 8b55b9a

Browse files
committed
(GH-136) Add restart and log commands
VSCode requires the commands to be in activation events, as well as in command palatte list
1 parent 479f6b6 commit 8b55b9a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

client/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
],
3939
"activationEvents": [
4040
"onLanguage:puppet",
41+
"onCommand:extension.puppetRestartSession",
42+
"onCommand:extension.puppetShowConnectionLogs",
4143
"onCommand:extension.puppetShowConnectionMenu",
4244
"onCommand:extension.puppetLint",
4345
"onCommand:extension.puppetParserValidate",
@@ -139,6 +141,12 @@
139141
],
140142
"menus": {
141143
"commandPalette": [
144+
{
145+
"command": "extension.puppetRestartSession"
146+
},
147+
{
148+
"command": "extension.puppetShowConnectionLogs"
149+
},
142150
{
143151
"command": "extension.pdkNewModule"
144152
},

0 commit comments

Comments
 (0)