Vscode: FreeBSD support - now that Electron is available

Created on 4 Jun 2019  ·  12Comments  ·  Source: microsoft/vscode


Hello Devs,

Electron 4 was added to FreeBSD ports and pkg on May 28. Is it possible now to port VSCode to FreeBSD? It would be very much appreciated as there are very few decent GUI code editors on FreeBSD right now.

feature-request install-update

Most helpful comment

It would be great to see the patches that it uses reviewed for upstreaming and to understand what the blockers are to this becoming an officially supported platform.

All 12 comments

The author of the FreeBSD Port of Electron4 is also working on a FreeBSD Port of VSCode.

It is not yet “clean enough” to be committed to the FreeBSD repository (and thus generate an official package), but in the release section there is a working 1.35.0 release already.

@lapo-luchini Thanks for the information! Does that mean VSCode will officially support FreeBSD when the port gets to a clean enough state?

It means FreeBSD will support VSCode (as in: maintaining a Makefile and a set of patches that make it build in the server that crates the official binary packages) and it will be easy to install as a package, but whether VSCode wants to support FreeBSD (as in: upstreaming patches that are needed for it to build, listing it as supported on the official website and so on) is up to Microsoft I guess.

I sniffed the current implementation and it appears to download a bunch of binaries from azure. These binaries look like they contain some Linux nodejs items. FreeBSD binaries could be built that contain the same functionality. I just opened https://github.com/microsoft/vscode/issues/83169.

For updates on FreeBSD Electron4 see https://github.com/electron/electron/issues/3797

It would be great to see the patches that it uses reviewed for upstreaming and to understand what the blockers are to this becoming an officially supported platform.

There's been tons of votes for getting vscode remote ssh support; which needs this one to happen first!

I wonder if it would be easier to get the maintainer to submit the patches in a PR here. Problem is those are patches to electron too right? not just vscode

Remote SSH support does not need this. Remote SSH just requires the remote agent (which is not open source) to be built for FreeBSD. Or, ideally, to either be released as open source or have the protocol documented. There are a load of environments where I'd love for the SSH agent to run but where I definitely wouldn't want to run the IDE. While I'd love to have a supported build of VS Code for FreeBSD, being able to use it to edit and build things that are on FreeBSD VMs or remote systems would be more valuable to me (maybe less valuable to others) and should have orthogonal requirements.

I though so to, but not according to this: https://github.com/microsoft/vscode-remote-release/issues/1730#issuecomment-603319916

For anyone who wants a remote development environment, code-server works on FreeBSD! It's VS Code but running in the browser instead of electron.

https://github.com/cdr/code-server#quick-install

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shanalikhan picture shanalikhan  ·  3Comments

sirius1024 picture sirius1024  ·  3Comments

vsccarl picture vsccarl  ·  3Comments

lukehoban picture lukehoban  ·  3Comments

sijad picture sijad  ·  3Comments