mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
Focus cline when on update
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ export async function activate(context: vscode.ExtensionContext) {
|
||||
const lastShownPopupNotificationVersion = context.globalState.get<string>("clineLastPopupNotificationVersion")
|
||||
|
||||
if (currentVersion !== lastShownPopupNotificationVersion && previousVersion) {
|
||||
// Show VS Code popup notification as this version hasn't been notified yet.
|
||||
// Show VS Code popup notification as this version hasn't been notified yet without doing it for fresh installs
|
||||
const message = `Cline has been updated to v${currentVersion}`
|
||||
await vscode.commands.executeCommand("claude-dev.SidebarProvider.focus")
|
||||
await new Promise((resolve) => setTimeout(resolve, 200))
|
||||
|
||||
Reference in New Issue
Block a user