-
Notifications
You must be signed in to change notification settings - Fork 887
Open a new window with Open VS Code Desktop #5703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe the URI that handles the opening in VS Code is here: coder/site/src/components/VSCodeDesktopButton/VSCodeDesktopButton.tsx Lines 26 to 36 in bbb208e
Looks like these are our query params so we could support it on this side. Curious though if we can support it from the vscode-coder extension side. |
So our custom URI handler is here: |
I believe actual code to open VS Code window would be here: https://github.com/coder/vscode-coder/blob/ec4aa92aa7717740a5a1a66d4350236c9bcf913e/src/commands.ts#L188-L194 |
Ah maybe this is it? https://github.com/coder/vscode-coder/blob/ec4aa92aa7717740a5a1a66d4350236c9bcf913e/src/commands.ts#L200 see So seems like it's possible if I'm following the logic correctly. |
The awesome new feature, Open VS Code Desktop, opens the existing local VS Code window so when I close it, I have to re-open my local 'workspace' again.
I suggest the default behavior be to open a new VS Code window locally.
The text was updated successfully, but these errors were encountered: