microsoft / vscode-remote-release

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.
https://aka.ms/vscode-remote
Other
3.61k stars 276 forks source link

Please add support for FreeBSD #727

Open yzgyyang opened 5 years ago

yzgyyang commented 5 years ago

Can't connect to azure: unreachable or not Linux x86_64 (FreeBSD amd64 )

Since the Electron support is premature on FreeBSD, running vscode in my laptop and connect to my FreeBSD server seems to be a great solution. I'm looking forward to the support on FreeBSD platforms.

mike-pt commented 5 years ago

Would love to have this too, seems like the most work would be around vscode server but considering the deps you list for Linux it seems entirely possible.

Qint commented 5 years ago

The remote server architecture is not supported


The server's OS is FreeBSD.

morganwdavis commented 5 years ago
[20:21:58.866] > Running remote connection script
> 
[20:21:58.875] > Unsupported architecture: FreeBSD amd64   
> a993f545-b325-411d-80a3-23ece1e3d1b3##27##
> 
[20:21:58.875] Received install output: a993f545-b325-411d-80a3-23ece1e3d1b3##27##
[20:21:58.875] Unsupported architecture
[20:21:58.875] The remote server architecture is not supported

What would happen if the architecture check was simply ignored/skipped? Would it just work? I can't imagine what kind of esoteric commands being issued over a standard SSH connection would be so architecture-dependent that Linux would work but not FreeBSD. If it's just a matter of using full paths to executables or environment variables, I'm sure we FreeBSD users could create a compatible environment.

mike-pt commented 5 years ago

I actually tried to work around that it does work if u fake it (meaning it passes this check) but it will then try to install things using what would be expected in linux, some would need to be convert to FreeBSD, but more importantly we need vscode-server built for FreeBSD

morganwdavis commented 5 years ago

Yes. I saw that it creates a .vscode-server directory. Client software that silently installs stuff in the user's account is unexpectedly hacky and unfriendly. (I just got a horrible flashback to those ghastly server-side FrontPage web extensions provided by Microsoft 20 years ago!)

I think Microsoft should specify the server environment they require and leave it up to the developer community to create their own compatibility packages for their OS. Then it can be cleanly built and maintained by the best folks who know best, managed using standard package management tools (e.g., pkg under FreeBSD). The user's home directory would then have a set of symlinks or similar mechanism for providing the expected support interfaces.

This can't come soon enough for me. I'm finding that vscode's git features over the Internet to a remote Samba server is excruciatingly slow -- taking a full minute to do a simple commit. (Any tips/workarounds are appreciated!)

Follpvosten commented 5 years ago

more importantly we need vscode-server built for FreeBSD

I'm just guessing, but this shouldn't be too hard, since the server is probably built with TS/JS, right? If the source is available, I'd like to help with this.

mike-pt commented 5 years ago

Thats the issue though the source is not available AFAIK, Microsoft would need to built it and release it, so it can be downloaded on first setup, this is the critical part here.

I didn't find any reference to the source so far.

mike-pt commented 5 years ago

I suppose if someone has the Linux zip we could look into it and see if freebsd Linux emulation works.

qqkookie commented 5 years ago

Same problem. I can contribute to solve this problem. What is main problem that prevents VS Code from supporting FreeBSD? Is it fault of FreeBSD ssh server or Open SSH or VS Code remote SSH extension problem?

mike-pt commented 5 years ago

The main problem is what I described, the vscode server component is not built/distributed for FreeBSD, since its also not open source only Microsoft can do it.

Alternately perhaps we could look into using Linux emulation and then patch the extension side to use the Linux version and do whatever is necessary to get it to install on freebsd, the issue is not ssh or the extension it self (that probably easy to handle).

davidchisnall commented 4 years ago

This is currently the issue blocking me from using VS Code. Please let me know if there's anything I can do to help make this work.

rob4226 commented 4 years ago

+1 to please add support for FreeBSD!!! I am sure there are many others who would use it also. It can't be too hard to adapt it to FreeBSD given that it is largely based on the SSH protocol. Thanks!!!

krowvin commented 4 years ago

Agreed, please add FreeBSD support!

kali-co-kr commented 4 years ago

+1 Agreed, please add FreeBSD support!

n0x32schneider commented 4 years ago

+1 Agreed, please add FreeBSD support!

resnerac03 commented 4 years ago

Please add FreeBSD support ASAP. I can't work on my favorite text editor coz of this.

arymkus commented 4 years ago

Please add FreeBSD support.

Follpvosten commented 4 years ago

It's great that we have some spiking activity here, the issue might get some attention, but I'm not sure how constructive it is.

I'd like to add something: Please point us to the server source code so we can add FreeBSD support! I'd be willing to help, and I'm sure others would be, too.

mike-pt commented 4 years ago

@Follpvosten +1 I've pointed out the same before, they would need to either release that themselves or open source it so someone can try to build it. AFAIK this is not open sourced (the server code I mean).

dpetrov commented 4 years ago

+1 for FreeBSD support.

luchoman08 commented 4 years ago

+1 for FreeBSD support.

xcdr commented 4 years ago

+1, nice to have FreeBSD support.

RocketSquirrel commented 4 years ago

Concur on adding support for FreeBSD. I'm currently relegated to using Eclipse, and while it is sufficient, it's very heavy-handed compared to VSCode.

ghost commented 4 years ago

+1

tkanjar commented 4 years ago

+1

hansinator commented 4 years ago

+1

guilhermedrud commented 4 years ago

+1

cwlin0416 commented 4 years ago

+1

cookys commented 4 years ago

+1, it would be great to have FreeBSD support.

rob4226 commented 4 years ago

+1

dev-bjoern commented 4 years ago

+1

netops2devops commented 4 years ago

+1

eogloblin commented 4 years ago

+1

dyeske commented 4 years ago

+1

cleoold commented 4 years ago

+1, nice to have FreeBSD support. (in 2020)

alexseitsinger commented 4 years ago

+1

jimying commented 4 years ago

Please add Remote SSH support, freebsd is always as server, remotely develop will convenient

nkev commented 4 years ago

+1

thenicknash commented 4 years ago

+1

duartejbrito commented 4 years ago

+1

sh1dow3r commented 4 years ago

+1 for FreeBSD support

sean0921 commented 4 years ago

+1

isarantis commented 4 years ago

+1

RevySR commented 4 years ago

+1

zeon-ua commented 4 years ago

+1

danniehansen commented 4 years ago

+1

zatarain commented 4 years ago

+1

leyang95 commented 4 years ago

+1

kentippens commented 4 years ago

+1

mrschofield commented 4 years ago

+1