aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json16
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": {