Allow Roo-Cline to coexist with Cline (#23)

Co-authored-by: ColemanRoo <michael.coleman@roo.vet>
This commit is contained in:
Matt Rubens
2024-11-28 14:25:41 -05:00
committed by GitHub
parent cc3186c88f
commit cafc2852ca
6 changed files with 33 additions and 32 deletions

View File

@@ -68,8 +68,8 @@ export const GlobalFileNames = {
}
export class ClineProvider implements vscode.WebviewViewProvider {
public static readonly sideBarId = "claude-dev.SidebarProvider" // used in package.json as the view's id. This value cannot be changed due to how vscode caches views based on their id, and updating the id would break existing instances of the extension.
public static readonly tabPanelId = "claude-dev.TabPanelProvider"
public static readonly sideBarId = "roo-cline.SidebarProvider" // used in package.json as the view's id. This value cannot be changed due to how vscode caches views based on their id, and updating the id would break existing instances of the extension.
public static readonly tabPanelId = "roo-cline.TabPanelProvider"
private static activeInstances: Set<ClineProvider> = new Set()
private disposables: vscode.Disposable[] = []
private view?: vscode.WebviewView | vscode.WebviewPanel