vscode-basex/src/main.ts
2015-11-22 02:37:00 -05:00

13 lines
No EOL
442 B
TypeScript

'use strict';
import { commands, ExtensionContext } from 'vscode';
import { formatXml, linearizeXml } from './features/xmlFormatting';
export function activate(ctx: ExtensionContext) {
// check for update
//...
// register pallete commands
ctx.subscriptions.push(commands.registerTextEditorCommand('xmltools.formatXml', formatXml));
ctx.subscriptions.push(commands.registerTextEditorCommand('xmltools.linearizeXml', linearizeXml));
}