Skip to content

Commit f3f0697

Browse files
committed
Added send to app
1 parent 00256ff commit f3f0697

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/extension.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ export function activate(context: vscode.ExtensionContext) {
274274

275275
context.subscriptions.push(
276276
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+
}
277284
await vscode.commands.executeCommand("pearai-roo-cline.SidebarProvider.focus")
278285
}),
279286
)

0 commit comments

Comments
 (0)