Skip to content

Commit 2b60148

Browse files
committed
build: define the commands the extension contributes in package.json.
- Added `singleLineBlock` and `changeBladeMultiLineBlock` commands to the package.json to show that this extension contributes commands. This allows the vscode extension info page show that it contributes these commands, and also shows the commands in the command center.
1 parent 50110d0 commit 2b60148

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@
8181
}
8282
}
8383
},
84+
"commands": [
85+
{
86+
"command": "auto-comment-blocks.singleLineBlock",
87+
"title": "Continue Single-Line Comment Block",
88+
"category": "Auto Comment Blocks"
89+
},
90+
{
91+
"command": "auto-comment-blocks.changeBladeMultiLineBlock",
92+
"title": "Toggle Blade Multi-Line Comment Style",
93+
"category": "Auto Comment Blocks"
94+
}
95+
],
8496
"keybindings": [
8597
{
8698
"command": "auto-comment-blocks.singleLineBlock",

0 commit comments

Comments
 (0)