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:52:27 +0300 |
commit | 7818c08dc67c6916956c50e93e01e0a04010898b (patch) | |
tree | 887b70a35772c9165f696a7497267d234ee4f041 /package.json | |
parent | 6c3aa1bf769f3f161e3fc60560c605c38e9f2c6b (diff) |
v0.0.7 Macbook Touchbar button for error wrapping
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/package.json b/package.json index 7a804bb..a73e01c 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": { |