e6a3e5c3ea
* move core into repo, apps into apps folder, update tests * Update scripts for build:core * improve scripts * remove noise from www * Update .gitignore * Fix focus bug * add ci test script * Update main.yml
11 lines
347 B
TypeScript
11 lines
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)
|
|
}
|
|
}
|