Remove previous webview since we use react app now

This commit is contained in:
Saoud Rizwan
2024-07-06 02:54:27 -04:00
parent ed9ff69fc7
commit 4916b2c28d
10 changed files with 159 additions and 482 deletions

View File

@@ -1,7 +1,6 @@
// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from "vscode"
import { HelloWorldPanel } from "./HelloWorldPanel"
import { SidebarProvider } from "./providers/SidebarProvider"
/*
@@ -28,15 +27,8 @@ export function activate(context: vscode.ExtensionContext) {
// // Display a message box to the user
// vscode.window.showInformationMessage("Hello World from claude-dev!")
// })
// context.subscriptions.push(disposable)
// const helloCommand = vscode.commands.registerCommand("claude-dev.helloWorld", () => {
// HelloWorldPanel.render(context.extensionUri)
// })
// context.subscriptions.push(helloCommand)
const provider = new SidebarProvider(context.extensionUri)
context.subscriptions.push(vscode.window.registerWebviewViewProvider(SidebarProvider.viewType, provider))