SchoofsKelvin / vscode-sshfs

Extension for Visual Studio Code: File system provider using SSH
GNU General Public License v3.0
543 stars 36 forks source link

Improve UI integration for port forwarding #254

Open SchoofsKelvin opened 3 years ago

SchoofsKelvin commented 3 years ago

Currently, port forwarding is done by using commands, and in the future using config settings (#253)

The UI could use two big upgrades:

  1. Reworking the command-based UI prompting to be easier to understand and use
    1. Once we start parsing LocalForward and such (#107), we would already support parsing the syntax from #252. We could reuse this parsing to allow e.g. localhost:3000 instead of prompting it separately. Mind that the OpenSSH documentation also states for IPv6 addresses to be in brackets, something we neglect now.
  2. Add a new Webview View where we can have a simple intuitive (and response) form to add a port forwarding

Mind that for stopping/viewing current port forwardings, the current Connections tree view suffices. Perhaps the panel mentioned in 2. could also provide an overview of all forwarded ports.