-
Notifications
You must be signed in to change notification settings - Fork 275
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
Add CLI for remote dev #656
Comments
Better place to file is the the remote dev GitHub unless they've already said there's no API call for this. |
I think we have an issue for this somewhere but I can't find it... |
just starting using remote ssh, this is the first thing i was looking for. I start all my projects and tools from command line, so this (for me) would be a very valuable feature! |
If you want to open a specific file/folder on a remote machine you can use the uri command line functionality:
|
How does this translate to a |
microsoft/vscode#90367 suggests to introduce support for |
Also already supported is the following:
It's up to each remote extension to define the format for what's behind the |
This landed via microsoft/vscode@bdf1156. The URI must be of the form: |
I am assuming the |
Here is an example for SSH: |
I wasn't able to get this working. On the latest insiders I tried opening the link:
(as well as the non- However, nothing happened. I didn't see any error logs anywhere. Running Open Link on |
@connor4312 please clarify how you tried this and on what OS you are on. |
Okay, I got it working. Realized that the vscode URI, unlike the https link, was not recognized in the plain text language mode. |
Just to confirm, is there a way to open a remote file by URL? I only seem to get it to work with folders. |
@svalentin I just confirmed that it does work with workspace files, that is, |
Interesting. To me it behaved as if running vscode with |
Would be useful to just call VsCode remote dev directly through CLI like so :
The text was updated successfully, but these errors were encountered: