Files
vscode-extension-samples/custom-editor-sample/src/extension.ts
Matt Bierner 1a6bac6dd9 Add custom editor example extensions
Adds an example extension for custom editors. This example extension shows two custom editors: one for text and one for binary files
2020-03-24 17:00:57 -07:00

10 lines
402 B
TypeScript

import * as vscode from 'vscode';
import { CatScratchEditorProvider } from './catScratchEditor';
import { PawDrawEditorProvider } from './pawDrawEditor';
export function activate(context: vscode.ExtensionContext) {
// Register our custom editor providers
context.subscriptions.push(CatScratchEditorProvider.register(context));
context.subscriptions.push(PawDrawEditorProvider.register(context));
}