Skip to content
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

When opening the remote I would like to add an option to open in a new window. #2

Closed
ouweiya opened this issue Jun 11, 2021 · 8 comments
Assignees
Labels
feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@ouweiya
Copy link

ouweiya commented Jun 11, 2021

When opening a remote I would like to add an option to open in a new window instead of the current window.

image

I know that in Remote Manager, you can use the Alt button to open a project in a new window, but that only works for historical projects that have already been opened, not for new projects.
image

@eamodio eamodio added the feature-request Request for new features or functionality label Jun 15, 2021
@eamodio eamodio added this to the Backlog milestone Jun 15, 2021
@eamodio
Copy link
Contributor

eamodio commented Jun 15, 2021

The ideal solution is blocked by microsoft/vscode#88716

@JustinGrote
Copy link

@eamodio well is there a "non-ideal" solution, like opening a URL handler like git-vscode-remote://path/to/repo or something?

@eamodio
Copy link
Contributor

eamodio commented Jun 21, 2021

You can use vscode://github.remotehub/open?url=<url-encoded-github-url-here> to do that today.

@JustinGrote
Copy link

JustinGrote commented Jun 21, 2021

@eamodio didn't work, pasted this into the browser and just got my default vscode workspace, do I need to encode the parameters? Maybe provide an example?
vscode://github.remotehub/open?url=https://github.com/microsoft/vscode-extension-samples

@eamodio
Copy link
Contributor

eamodio commented Jun 22, 2021

Yes, sorry the url, needs to be url encoded: e.g. vscode://github.remotehub/open?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode

@JustinGrote
Copy link

@eamodio it worked, thank you. also vscode-insiders:// for the insiders version.

@eamodio
Copy link
Contributor

eamodio commented Jun 22, 2021

yeah, the scheme is the edition of vscode (vscode, vscode-insiders, vscode-exploration), and you can also specify the insiders edition of Remote Repositories as well by changing the authority to github.remotehub-insiders

@joyceerhl
Copy link
Contributor

joyceerhl commented Sep 24, 2021

This is fixed in main and will be resolved when we publish the next GitHub Repositories (Insiders) build:

recording (27)

@joyceerhl joyceerhl modified the milestones: Backlog, September 2021 Sep 24, 2021
@joyceerhl joyceerhl self-assigned this Sep 24, 2021
@joyceerhl joyceerhl added the verification-needed Verification of issue is requested label Sep 24, 2021
@jrieken jrieken added the verified Verification succeeded label Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants