Skip to content

Commit 2043c1e

Browse files
duplicate commands fixes
1 parent 6b8d788 commit 2043c1e

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/extension.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ export function activate(context: vscode.ExtensionContext) {
7979
}),
8080
)
8181

82-
context.subscriptions.push(
83-
vscode.commands.registerCommand("roo-cline.mcpButtonClicked", () => {
84-
sidebarProvider.postMessageToWebview({ type: "action", action: "mcpButtonClicked" })
85-
}),
86-
)
87-
88-
context.subscriptions.push(
89-
vscode.commands.registerCommand("roo-cline.promptsButtonClicked", () => {
90-
sidebarProvider.postMessageToWebview({ type: "action", action: "promptsButtonClicked" })
91-
}),
92-
)
82+
// context.subscriptions.push(
83+
// vscode.commands.registerCommand("roo-cline.mcpButtonClicked", () => {
84+
// sidebarProvider.postMessageToWebview({ type: "action", action: "mcpButtonClicked" })
85+
// }),
86+
// )
87+
88+
// context.subscriptions.push(
89+
// vscode.commands.registerCommand("roo-cline.promptsButtonClicked", () => {
90+
// sidebarProvider.postMessageToWebview({ type: "action", action: "promptsButtonClicked" })
91+
// }),
92+
// )
9393

9494
const openClineInNewTab = async () => {
9595
outputChannel.appendLine("Opening Roo Code in new tab")
@@ -124,21 +124,21 @@ export function activate(context: vscode.ExtensionContext) {
124124
await vscode.commands.executeCommand("workbench.action.lockEditorGroup")
125125
}
126126

127-
context.subscriptions.push(vscode.commands.registerCommand("roo-cline.popoutButtonClicked", openClineInNewTab))
128-
context.subscriptions.push(vscode.commands.registerCommand("roo-cline.openInNewTab", openClineInNewTab))
129-
130-
context.subscriptions.push(
131-
vscode.commands.registerCommand("roo-cline.settingsButtonClicked", () => {
132-
//vscode.window.showInformationMessage(message)
133-
sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
134-
}),
135-
)
136-
137-
context.subscriptions.push(
138-
vscode.commands.registerCommand("roo-cline.historyButtonClicked", () => {
139-
sidebarProvider.postMessageToWebview({ type: "action", action: "historyButtonClicked" })
140-
}),
141-
)
127+
// context.subscriptions.push(vscode.commands.registerCommand("roo-cline.popoutButtonClicked", openClineInNewTab))
128+
// context.subscriptions.push(vscode.commands.registerCommand("roo-cline.openInNewTab", openClineInNewTab))
129+
130+
// context.subscriptions.push(
131+
// vscode.commands.registerCommand("roo-cline.settingsButtonClicked", () => {
132+
// //vscode.window.showInformationMessage(message)
133+
// sidebarProvider.postMessageToWebview({ type: "action", action: "settingsButtonClicked" })
134+
// }),
135+
// )
136+
137+
// context.subscriptions.push(
138+
// vscode.commands.registerCommand("roo-cline.historyButtonClicked", () => {
139+
// sidebarProvider.postMessageToWebview({ type: "action", action: "historyButtonClicked" })
140+
// }),
141+
// )
142142

143143
/*
144144
We use the text document content provider API to show the left side for diff view by creating a virtual document for the original content. This makes it readonly so users know to edit the right side if they want to keep their changes.

0 commit comments

Comments
 (0)