Refactor Cline

This commit is contained in:
Saoud Rizwan
2024-10-05 23:46:50 -04:00
parent 83ce17db11
commit 385c54d3c0
6 changed files with 13 additions and 13 deletions

View File

@@ -24,10 +24,10 @@ export function activate(context: vscode.ExtensionContext) {
// This line of code will only be executed once when your extension is activated
//console.log('Congratulations, your extension "claude-dev" is now active!')
outputChannel = vscode.window.createOutputChannel("Claude Dev")
outputChannel = vscode.window.createOutputChannel("Cline")
context.subscriptions.push(outputChannel)
outputChannel.appendLine("Claude Dev extension activated")
outputChannel.appendLine("Cline extension activated")
// The command has been defined in the package.json file
// Now provide the implementation of the command with registerCommand
@@ -71,7 +71,7 @@ export function activate(context: vscode.ExtensionContext) {
}
const targetCol = hasVisibleEditors ? Math.max(lastCol + 1, 1) : vscode.ViewColumn.Two
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Claude Dev", targetCol, {
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Cline", targetCol, {
enableScripts: true,
retainContextWhenHidden: true,
localResourceRoots: [context.extensionUri],
@@ -149,5 +149,5 @@ export function activate(context: vscode.ExtensionContext) {
// This method is called when your extension is deactivated
export function deactivate() {
outputChannel.appendLine("Claude Dev extension deactivated")
outputChannel.appendLine("Cline extension deactivated")
}