mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Updating extension name in extension.ts
This commit is contained in:
parent
ea6eae7966
commit
b38e1f9252
1 changed files with 5 additions and 5 deletions
|
|
@ -21,10 +21,10 @@ let outputChannel: vscode.OutputChannel
|
|||
// This method is called when your extension is activated
|
||||
// Your extension is activated the very first time the command is executed
|
||||
export function activate(context: vscode.ExtensionContext) {
|
||||
outputChannel = vscode.window.createOutputChannel("Cline")
|
||||
outputChannel = vscode.window.createOutputChannel("Roo-Cline")
|
||||
context.subscriptions.push(outputChannel)
|
||||
|
||||
outputChannel.appendLine("Cline extension activated")
|
||||
outputChannel.appendLine("Roo-Cline extension activated")
|
||||
|
||||
// Get default commands from configuration
|
||||
const defaultCommands = vscode.workspace
|
||||
|
|
@ -54,7 +54,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
)
|
||||
|
||||
const openClineInNewTab = async () => {
|
||||
outputChannel.appendLine("Opening Cline in new tab")
|
||||
outputChannel.appendLine("Opening Roo-Cline in new tab")
|
||||
// (this example uses webviewProvider activation event which is necessary to deserialize cached webview, but since we use retainContextWhenHidden, we don't need to use that event)
|
||||
// https://github.com/microsoft/vscode-extension-samples/blob/main/webview-sample/src/extension.ts
|
||||
const tabProvider = new ClineProvider(context, outputChannel)
|
||||
|
|
@ -68,7 +68,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, "Cline", targetCol, {
|
||||
const panel = vscode.window.createWebviewPanel(ClineProvider.tabPanelId, "Roo-Cline", targetCol, {
|
||||
enableScripts: true,
|
||||
retainContextWhenHidden: true,
|
||||
localResourceRoots: [context.extensionUri],
|
||||
|
|
@ -145,5 +145,5 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
|
||||
// This method is called when your extension is deactivated
|
||||
export function deactivate() {
|
||||
outputChannel.appendLine("Cline extension deactivated")
|
||||
outputChannel.appendLine("Roo-Cline extension deactivated")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue