|
@@ -1,29 +0,0 @@
|
1
|
|
-'use strict';
|
2
|
|
-// The module 'vscode' contains the VS Code extensibility API
|
3
|
|
-// Import the module and reference it with the alias vscode in your code below
|
4
|
|
-import * as vscode from 'vscode';
|
5
|
|
-
|
6
|
|
-// this method is called when your extension is activated
|
7
|
|
-// your extension is activated the very first time the command is executed
|
8
|
|
-export function activate(context: vscode.ExtensionContext) {
|
9
|
|
-
|
10
|
|
- // Use the console to output diagnostic information (console.log) and errors (console.error)
|
11
|
|
- // This line of code will only be executed once when your extension is activated
|
12
|
|
- console.log('Congratulations, your extension "pokescript" is now active!');
|
13
|
|
-
|
14
|
|
- // The command has been defined in the package.json file
|
15
|
|
- // Now provide the implementation of the command with registerCommand
|
16
|
|
- // The commandId parameter must match the command field in package.json
|
17
|
|
- let disposable = vscode.commands.registerCommand('extension.sayHello', () => {
|
18
|
|
- // The code you place here will be executed every time your command is executed
|
19
|
|
-
|
20
|
|
- // Display a message box to the user
|
21
|
|
- vscode.window.showInformationMessage('Hello World!');
|
22
|
|
- });
|
23
|
|
-
|
24
|
|
- context.subscriptions.push(disposable);
|
25
|
|
-}
|
26
|
|
-
|
27
|
|
-// this method is called when your extension is deactivated
|
28
|
|
-export function deactivate() {
|
29
|
|
-}
|