2024-06-03 17:18:25 +02:00
|
|
|
/*---------------------------------------------------------
|
|
|
|
|
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
|
|
|
*--------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
import * as vscode from 'vscode';
|
|
|
|
|
import { add } from './math';
|
|
|
|
|
|
|
|
|
|
export function activate(context: vscode.ExtensionContext) {
|
|
|
|
|
|
|
|
|
|
console.log('Congratulations, your extension "esbuild-sample" is now active!');
|
|
|
|
|
|
|
|
|
|
const disposable = vscode.commands.registerCommand('esbuild-sample.hello-esbuild', () => {
|
|
|
|
|
vscode.window.showInformationMessage(`41 + 1 = ${add(41, 1)}`);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
context.subscriptions.push(disposable);
|
|
|
|
|
}
|
|
|
|
|
|
2024-10-28 16:41:49 -07:00
|
|
|
export function deactivate() { }
|