import * as vscode from 'vscode' ; import { DevToolsExtensionContext } from '../devToolsExtensionContext' ; import { AppSourceCopEditor } from './appSourceCopEditor' ; export class AppSourceCopEditorProvider implements vscode . CustomTextEditorProvider { protected _devToolsContext : DevToolsExtensionContext ; constructor ( devToolsContext ) { this . _devToolsContext = devToolsContext ; } public async resolveCustomTextEditor ( document , webviewPanel , token ) { let editor = new AppSourceCopEditor ( this . _devToolsContext ) ; editor . resolveCustomTextEditor ( document , webviewPanel ) ; } }