aboutsummaryrefslogtreecommitdiff
path: root/src/extension.js
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.dev>2023-08-08 02:40:09 +0300
committerNeonXP <i@neonxp.dev>2023-08-08 02:40:09 +0300
commita8fa5bf1cf7a818f73910477c69040160a4d14a3 (patch)
tree766710bdc460c36034b480e297d376308f82778e /src/extension.js
parent80815c107eccad55616b66bcaed804469c65a7a7 (diff)
group imports commandHEADmaster
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));
}