Open
Description
openedon Jan 17, 2023
Instead of downloading the server distro, install the standalone CLI
What's missing in the CLI:
- bring back
code serve-local
- new parameter
--download-folder
to pass a folder that contains already downloaded server distros archives. The resolver will try to pre-download the distros on the client to avoid download issues on the WSL distro side. - more structured progress reporting in the CLI: download and unpackage percentage
Optional:
Use the CLI as proxy to connect to a server port, replacing the current proxy solution
- resolver starts
code serve
. Server is downloaded and started on some port or socket path on the WSL side. - resolver starts a local proxy server and returns that address as the resolver result. E.g.
localhost:3456
- VS Code makes a connection to that local address.
- The local proxy calls the cli on the WSL side
wsl -e /somepath/code --connect-local
and uses stdin/out to proxy the requests wsl -e /somepath/code --connect-local
connects to the server stated bycode serve
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment