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

Allow port number to be dynamic on start #34

Open
DanielFallon opened this issue Jul 21, 2017 · 0 comments
Open

Allow port number to be dynamic on start #34

DanielFallon opened this issue Jul 21, 2017 · 0 comments

Comments

@DanielFallon
Copy link

Possible enhancement (I might devote some time to this later this month)

I think it would be useful to allow the extension to choose a port number on start up.

It could then populate an environment variable with the value (say maybe $VSCODE_REMOTE_EDIT_PORT) and/or display this in the status bar

This would allow environment variables to be used to setup port forwarding for ssh sessions like this:

$ ssh -R $VSCODE_REMOTE_EDIT_PORT:localhost:$VSCODE_REMOTE_EDIT_PORT user@remoteHost

This would allow different ssh sessions to quickly and easily target different vscode windows, which I think would be useful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant