mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
17 lines
527 B
TypeScript
17 lines
527 B
TypeScript
/*---------------------------------------------------------
|
|
* Copyright (C) Microsoft Corporation. All rights reserved.
|
|
*--------------------------------------------------------*/
|
|
|
|
|
|
import * as vscode from 'vscode';
|
|
import { add } from './math';
|
|
|
|
export function activate(context: vscode.ExtensionContext) {
|
|
|
|
const disposable = vscode.commands.registerCommand('extension.helloWebpack', () => {
|
|
vscode.window.showInformationMessage(`41 + 1 = ${add(41, 1)}`);
|
|
});
|
|
|
|
context.subscriptions.push(disposable);
|
|
}
|