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.6k stars 273 forks source link

Support Linux ppc64le #401

Open hrzafer opened 5 years ago

hrzafer commented 5 years ago

When I try to connect our IBM Power 9 remote server (RedHat), I get Can't connect to xxx: unreachable or not Linux x86_64 (Linux ppc64le) error. Since the extension purely depends on ssh and the ppc64le is still Linux, this shouldn't be much of a problem.

Thanks

roblourens commented 5 years ago

We would have to build our native dependencies for Linux which we probably won't do, but I'll leave this open as a feature request.

hrzafer commented 5 years ago

Hi! Does that mean, this extension sends some binaries over ssh to the remote server? Is there a document on how this works? I wonder if we can compile necessary parts on our own.

roblourens commented 5 years ago

The extension downloads and installs a server on the remote machine: https://code.visualstudio.com/docs/remote/remote-overview

The server components are not open source.

ThePrez commented 4 years ago

The extension downloads and installs a server on the remote machine: https://code.visualstudio.com/docs/remote/remote-overview

The server components are not open source.

I apologize, as this may be the wrong place to ask, but.... Are there any plans to open source those server components?

brando90 commented 4 years ago

Is there any way to help to make this feature supported? @roblourens

brando90 commented 4 years ago

Just out of curiosity, what architectures are supported?

roblourens commented 4 years ago

That is described in the readme https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh

nicholaiTukanov commented 4 years ago

I agree with @brando90. I would love to have this feature.

raph38130 commented 4 years ago

+1 power9 support

rkube commented 4 years ago

power9 support would very helpful. Many HPC clusters are power9 based, it would be great to use vscode to edit files on these systems.

brando90 commented 4 years ago

Since it seems that this is not a priority feature (but extremely useful to many of us) I thought that perhaps something like push to the server on save would be good enough (the way atom, pycharm does it). Anyone know of a feature like that?

Same question on SO, hopefully, it will be helpful to people someday: https://stackoverflow.com/questions/60875795/is-there-a-remote-sync-on-save-for-vs-code-that-works-for-any-sever-architecture

https://github.com/microsoft/vscode/issues/93525

AndrewGaspar commented 4 years ago

@brando90 Have you tried sshfs?

carlosedp commented 4 years ago

+1

rpsene commented 4 years ago

This should be architecture agnostic, given the necessary freedom so developers can use VSCode on amd64, arm, ppc64le and s390x.

Proteusiq commented 4 years ago

We would have to build our native dependencies for Linux which we probably won't do, but I'll leave this open as a feature request.

Do we have any status report on whether VS Code will support Power X anytime soon?

rpsene commented 4 years ago

@roblourens I can give free access to Power to be attached to any CI infrastructure. Does it help?

BaptisteRoseau commented 4 years ago

I would also like to have Remote - SSH work on Power architecture. For those of you who would like and SFTP extension while waiting for an update of this one, you could use liximomo's SFTP extension: https://marketplace.visualstudio.com/items?itemName=liximomo.sftp

You don't need to write any password in config files actually, you can type it on the connection.

balos1 commented 4 years ago

+1

hibagus commented 4 years ago

I would love to have ppc64le Power-9 support for VScode remote.

PaulYuuu commented 4 years ago

+1

danielhb commented 4 years ago

For this feature to get more traction I suggest renaming this issue/feature request to "Support Linux amd64/arm/ppc64le/s390x" or similar. Like @rpsene mentioned above, this is not a ppc64le exclusive feature. ARM folks are glancing at this title and thinking this has nothing to do with them.

xapundel commented 4 years ago

+1

AndrewGaspar commented 4 years ago

For this feature to get more traction I suggest renaming this issue/feature request to "Support Linux amd64/arm/ppc64le/s390x" or similar. Like @rpsene mentioned above, this is not a ppc64le exclusive feature. ARM folks are glancing at this title and thinking this has nothing to do with them.

ARM and amd64 are already supported.

xapundel commented 4 years ago

I can help with porting to ppc64le. I have VM for build/test. I also have exp in migration process. Will it help if I provide access to ppc64le for dev team.

roccqqck commented 4 years ago

@xapundel if it is possible to install nodejs at ppc64, There might be another solution. https://github.com/cdr/code-server This project is a web vscode. It supports almost every extensions of vscode.

You could use npm to build code-server easily. https://github.com/cdr/code-server/blob/master/doc/install.md#yarn-npm

Mon-ius commented 4 years ago

+1

wacoder commented 3 years ago

+1

hibagus commented 3 years ago

@xapundel if it is possible to install nodejs at ppc64, There might be another solution. https://github.com/cdr/code-server This project is a web vscode. It supports almost every extensions of vscode.

You could use npm to build code-server easily. https://github.com/cdr/code-server/blob/master/doc/install.md#yarn-npm

This is a great solution! I am using this solution while waiting for the official support for ppc64le.

csaska commented 3 years ago

Is https://github.com/microsoft/vsda the only VS Code Remote extension Microsoft dependency that is not open sourced?

Is it possible to provide a version of this repository that can be open sourced so that we can fork the project and provide ppc support?

e-desouza commented 3 years ago

I work around this by using sshfs today (on s390x architecture).

magic-lantern commented 3 years ago

This is a feature I'd also like to have. Is there a process for moving this from being an old issue to being actively worked on?

rpsene commented 3 years ago

@roblourens hey, how can we collaborate to make it happen?

csaska commented 3 years ago

I'm not sure there's anything that can be done here folks.

You can get by the os check and force the remote installation but you will run into the issue of VSDA (whatever that is) not being an open source project and not having ppc support.

Unfortunately for us this isn't an entirely open source project and the piece that isn't doesn't work on ppc.

Edit:

Let me take this opportunity to plug code-server. It works pretty well on ppc. I think our effort is better spent helping that project create a ppc rpm.

rpsene commented 3 years ago

@csaska can you share a link for that project?

csaska commented 3 years ago

Here is the project code-server. The pain point for getting a ppc RPM for code-server is that currently there is no way to build VS Code from source on ppc because it tries to build electron.

TheRepo91 commented 3 years ago

Still nothing for Power?

wderekjones commented 3 years ago

power??

mdepasca commented 3 years ago

Power 9 support would be very useful

adil-s commented 3 years ago

please add the support power PC. just being hopeful as others.

Mon-ius commented 3 years ago

Hi, Can you open the source of the remote extension. I can help to develop and fix the issues in IBM POWER 9 machines.

0rtz commented 3 years ago

Please support ppc64 :pray:

bcaddy commented 2 years ago

+1 POWER9 is common on HPC systems, including the fastest supercomputer in the US and several premier XSEDE systems. Adding POWER9 support would help thousands of scientists

kocchop commented 2 years ago

+1 power9

riteshahlawat commented 2 years ago

+1 Lots of compute canada nodes (for academic research) are ppc64le and I really don't wanna use a different IDE

amizeranschi commented 2 years ago

@bcaddy @riteshahlawat can you think of any other IDE that could work remotely on a power9 machine?

csaska commented 2 years ago

code-server works on ppc and is a good alternative. I used to use it when I developed on P9s

amizeranschi commented 2 years ago

Does code-server work via SSH as well? I want to run things on a cluster and I can only reach it through SSH.

csaska commented 2 years ago

Yep you can setup port forwarding

There is one caveat. While code-server does gives you a "very close to vs code experience", you may find that some extensions don't work or can't be installed.

In this event, you may need to build whatever extension you want to install yourself by downloading the source code and then use the code server install command to install the extension.

This can be annoying but overall my experience with code server was a positive one.

e-desouza commented 2 years ago

I use OpenShift with CodeReady Workspaces (Eclipse Che based) or sshfs depending on what I'm doing.. CRW works on Power and Z platforms too.

satwaghole commented 2 years ago

much needed the VSCode for ppc64le. Working on various UPI and IPI based cluster, various script, automation .This thing become must now. Please update whether there will be availability of this ?