-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.ts
17 lines (15 loc) · 1.03 KB
/
extension.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import * as vscode from "vscode";
import { EditModel } from "./commands/edit_model";
import { EditOperation } from "./commands/edit_operation";
import { EditPage } from "./commands/edit_page";
import { EditAction } from "./commands/edit_action";
import { ConvertHtml } from "./commands/convert_html";
import { ExtractMethod } from "./commands/extract_method";
export function activate(context: vscode.ExtensionContext) {
context.subscriptions.push(vscode.commands.registerCommand("lucky.editModel", EditModel.execute));
context.subscriptions.push(vscode.commands.registerCommand("lucky.editOperation", EditOperation.execute));
context.subscriptions.push(vscode.commands.registerCommand("lucky.editPage", EditPage.execute));
context.subscriptions.push(vscode.commands.registerCommand("lucky.editAction", EditAction.execute));
context.subscriptions.push(vscode.commands.registerCommand("lucky.convertHtml", ConvertHtml.execute));
context.subscriptions.push(vscode.commands.registerCommand("lucky.extractMethod", ExtractMethod.execute));
}