microsoft / microsoft/vscode-remote-release

Launch file with CLI from arbitrary remote connections

Open
#4,511 1 comment 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

feature-request ssh
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

I'd like to propose a way to use code command line interface from arbitrary terminal sessions.

Up until now, in WSL and integrated terminal sessions, you're free to use code nginx.conf to open a file in your locally running Visual Studio Code window, even when you're SSH'd into another machine. However, when you're not in an integrated terminal and use another terminal of your choice, the same workflow does not apply.

I'm not sure if there is an easy solution to integrate something like this in VS Code. As I was frustrated with this problem myself, I developed a small utility that lets you run code from any terminal connection, given that there has already been a remote SSH connection to the machine. Hopefully this will help out any Googlers that stumble upon this or related issues in the meantime.

Related

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.