kopia lustrzana https://github.com/Tldraw/Tldraw
12 wiersze
347 B
TypeScript
12 wiersze
347 B
TypeScript
import * as vscode from 'vscode'
|
|
import { TldrawEditorProvider } from './TldrawEditorProvider'
|
|
|
|
// When a .tldr is first opened or created, activate the extension.
|
|
export function activate(context: vscode.ExtensionContext) {
|
|
try {
|
|
context.subscriptions.push(TldrawEditorProvider.register(context))
|
|
} catch (e) {
|
|
console.error(e)
|
|
}
|
|
}
|