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

Is it possible to build vscode cli also? #39

Open
olegsidorkin opened this issue Nov 28, 2023 · 1 comment
Open

Is it possible to build vscode cli also? #39

olegsidorkin opened this issue Nov 28, 2023 · 1 comment

Comments

@olegsidorkin
Copy link

Hello.
Thanks for porting it.

According to microsoft/vscode#191166 (comment) cli part (that allows remote access to vscode) should be built separately. Could it be included into port also?

@tagattie
Copy link
Owner

I tried to make a separate port for vscode cli some time ago. The cli source contains a lot of linux-specific code (e.g. systemd-related) and I couldn't compile it at that time. Maybe I will try again with the next release of vscode.

In the meantime, you can use the combination of "Open Remote - SSH" extension and remote extention host to access a remote host. The process for that should be as follows:

On the local host:

  • Install "Open Remote - SSH" extension and enable it in ${HOME}/.vscode-oss/argv.json

On the remote host:

  • Download remote extension host file from this repo's release archive (e.g. vscode-reh-1.84.2-freebsd13-amd64.tar.gz)
  • Create .vscode-server-oss directory under your ${HOME}
  • Untar the downloaded remote extension file into the created directory:
    $ tar -xf /path/to/vscode-reh-xxx.tar.gz -C ${HOME}/.vscode-server-oss

Restart vscode and you should see Remote Explorer icon on the sidebar.

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

2 participants