-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.ts
31 lines (26 loc) · 1.11 KB
/
extension.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import type { ExtensionContext } from "vscode"
import { issueCommand } from "./commands/openIssues";
import { setupCommand } from "./commands/setup";
import { changeUsernameCommand } from "./commands/changeUsername";
import { copyLastUsedCommand } from './commands/copyLastUsed';
// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
/**
* @param {vscode.ExtensionContext} context
*/
function activate(context: ExtensionContext) {
// Use the console to output diagnostic information (console.log) and errors (console.error)
// This line of code will only be executed once when your extension is activated
console.log("Please use the jinc.setup command!");
context.subscriptions.push(setupCommand(context));
context.subscriptions.push(changeUsernameCommand(context));
context.subscriptions.push(issueCommand(context));
context.subscriptions.push(copyLastUsedCommand(context));
}
exports.activate = activate;
// this method is called when your extension is deactivated
function deactivate() {}
module.exports = {
activate,
deactivate,
};