diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-04-04 01:14:39 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-04-04 01:22:14 +0300 |
commit | c0746565844ee0f1a82a916ac2e1ad2a13e949fd (patch) | |
tree | 9207ac3322311dca71cdff0d1daf3f8ea37ef3af /package.json | |
parent | 6c3aa1bf769f3f161e3fc60560c605c38e9f2c6b (diff) |
v0.0.7 Macbook Touchbar button for error wrappingv0.0.7
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" } } |