We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00256ff commit f3f0697Copy full SHA for f3f0697
src/extension.ts
@@ -274,6 +274,13 @@ export function activate(context: vscode.ExtensionContext) {
274
275
context.subscriptions.push(
276
vscode.commands.registerCommand("roo-cline.focus", async (...args: any[]) => {
277
+ try {
278
+ await vscode.commands.executeCommand("workbench.action.switchToPearAIIntegrationIconBar", {
279
+ view: "agent",
280
+ })
281
+ } catch (error) {
282
+ // Silently handle any errors that might occur when switching to the integration bar
283
+ }
284
await vscode.commands.executeCommand("pearai-roo-cline.SidebarProvider.focus")
285
}),
286
)
0 commit comments