Skip to content

Commit 110d186

Browse files
committed
fix: open workspaces in new windows
Fixes coder/coder#5703
1 parent 4ab70e5 commit 110d186

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,13 @@ export class Commands {
192192
authority: remoteAuthority,
193193
path: selected.folderUri.path,
194194
}),
195+
// Open this in a new window!
196+
true,
195197
)
196198
return
197199
}
198200

199201
// This opens the workspace without an active folder opened.
200-
await vscode.commands.executeCommand("vscode.newWindow", { remoteAuthority: remoteAuthority, reuseWindow: true })
202+
await vscode.commands.executeCommand("vscode.newWindow", { remoteAuthority: remoteAuthority, reuseWindow: false })
201203
}
202204
}

0 commit comments

Comments
 (0)