aboutsummaryrefslogtreecommitdiff
path: root/src/extension.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension.js')
-rw-r--r--src/extension.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/extension.js b/src/extension.js
index 850d5be..81ba639 100644
--- a/src/extension.js
+++ b/src/extension.js
@@ -1,6 +1,7 @@
const vscode = require('vscode');
const { ErrorsWrapper, wrapError } = require('./errors');
const selectReceiver = require('./implement-interface');
+const groupImports = require('./group-imports');
/**
* @param {vscode.ExtensionContext} context
*/
@@ -19,9 +20,7 @@ function activate(context) {
);
context.subscriptions.push(wrapErrorCommand);
- vscode.commands.registerCommand("gotools.imports", function () {
- // TODO
- })
+ context.subscriptions.push(vscode.commands.registerCommand("gotools.group-imports", groupImports))
context.subscriptions.push(vscode.commands.registerCommand("gotools.implement", selectReceiver));
}