Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
As mentioned in #643 you can set export EDITOR='code --wait' to get a nice interactive git flow (or in my case crontab -e) when using Remote SSH. Is there a reason this isn't injected automatically?
If someone is going to the trouble of using Remote SSH in VS Code (as opposed to just using ssh from a terminal outside VS Code), then I presume they'd be happy that VS Code is the default editor (as opposed to e.g. nano in the terminal window)?
I'm surprised this hasn't come up yet...
As mentioned in #643 you can set
export EDITOR='code --wait'
to get a nice interactivegit
flow (or in my casecrontab -e
) when using Remote SSH. Is there a reason this isn't injected automatically?If someone is going to the trouble of using Remote SSH in VS Code (as opposed to just using
ssh
from a terminal outside VS Code), then I presume they'd be happy that VS Code is the default editor (as opposed to e.g.nano
in the terminal window)?