Vscode-remote-release: Auto-connect to remote on startup

Created on 4 May 2019  路  3Comments  路  Source: microsoft/vscode-remote-release


Hi everyone,

awesome feature you are working on here!

I think it might be useful to add a command line parameter that allows to automatically connect to a remote host when VS Code starts, maybe something like: --connect-remote devserver01.

One could create shortcuts to automatically connect with this feature

feature-request plan-review remote

Most helpful comment

@bamurtaugh Yeah, similar approach but slightly different. I was talking about workspace setting like this:

{
    "folders": [
        {
            "path": "D:\\uppy-companion"
        }
    ],
    "settings": {
        "wsl": "<distro>|bool"
    }
}

All 3 comments

@bamurtaugh Yeah, similar approach but slightly different. I was talking about workspace setting like this:

{
    "folders": [
        {
            "path": "D:\\uppy-companion"
        }
    ],
    "settings": {
        "wsl": "<distro>|bool"
    }
}

@bamurtaugh Yeah, similar approach but slightly different. I was talking about workspace setting like this:

{
  "folders": [
      {
          "path": "D:\\uppy-companion"
      }
  ],
  "settings": {
      "wsl": "<distro>|bool"
  }
}

Exactly what I was thinking, I was going to open this request, but I saw this one.

That would be a very welcome feature, in my opinion, it would be very practical, and it would help a lot of people.

Hi!

I'm looking for the same feature, but I was thinking of something like this (more similar to an ssh command):

code [--remote] [<user>@]<host>:path/to/prj

Following above examples:

# absolute
code --remote devserver01:/d/uppy-companion

# relative to home
code --remote devserver01:src/project2
Was this page helpful?
0 / 5 - 0 ratings