diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/package.json b/package.json index 7a804bb..7f5e8d0 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "gotools", "displayName": "Golang Tools", "description": "Tools for productive work", - "version": "0.0.6", + "version": "0.0.7", "publisher": "neonxp", "license": "GPL-3.0-or-later", "author": { @@ -37,6 +37,20 @@ "language": "go", "path": "./snippets/snippets.json" } + ], + "menus": { + "touchBar": [ + { + "command": "gotools.wrap-error", + "when": "allowWrapIferr" + } + ] + }, + "commands": [ + { + "command": "gotools.wrap-error", + "title": "if err≠nil {...}" + } ] }, "scripts": { @@ -59,5 +73,8 @@ "mocha": "^8.2.1", "typescript": "^4.1.3", "vscode-test": "^1.5.0" + }, + "dependencies": { + "child_process": "^1.0.2" } } |