import vscode from 'vscode' ; import { createUmiWebviewPanel } from '@luozhu/vscode-utils' ; let currentPanel ; export function activate ( context ) { console . log ( 'Congratulations, your extension "{{name}}" is now active!' ) ; context . subscriptions . push ( vscode . commands . registerCommand ( '{{name}}.start' , async ( ) => { currentPanel = createUmiWebviewPanel ( context , '{{name}}' , '{{displayName}}' , 'assets/icon.png' , '^3.5.17' ) ; } ) ) ; } export function deactivate ( ) { }