gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

VSCodium support

Open KaspianDev opened this issue 3 years ago • 15 comments

Is your feature request related to a problem? Please describe

I am not a big fan of binaries that microsoft redistributes, they contain some crap I don't really want like telemetry which makes it nonfree software. VSCodium is a good approach to fix it. It builds open source binary without microsoft stuff and uses open source extension store. However, gitpod "open in vscode" does not open workspace in VSCodium, simply nothing happens. So here is my suggestion, open workspace in VSCodium

Describe alternatives you've considered

I tried ssh but it wasn't as smooth and easy.

KaspianDev avatar Jun 14 '22 17:06 KaspianDev

This extension seems to do the thing (ssh extension replica, but OSS).

  • https://github.com/xaberus/vscode-remote-oss#readme= And it also seems most of the features from original work without change.

KaspianDev avatar Jul 14 '22 21:07 KaspianDev

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 16 '22 13:10 stale[bot]

:eyes:

wvffle avatar Nov 27 '22 11:11 wvffle

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 18 '23 19:03 stale[bot]

Not stale.

axonasif avatar Apr 17 '23 02:04 axonasif

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 17 '23 11:09 stale[bot]

activity

astrojuanlu avatar Sep 17 '23 13:09 astrojuanlu

Wouldn't it be enough to add "VSCodium (Desktop)" to the options that can be chosen, then do the exact same thing as with "VSCode (Desktop)" but instead of using a vscode:// url use vscodium://, as per https://github.com/VSCodium/vscodium/issues/1126#issuecomment-1156711667?

GitMensch avatar Sep 21 '23 10:09 GitMensch

@GitMensch I think the issue is not about establishing a SSH connection, that's already doable (manually), it's about detecting user interaction as heartbeat so that the workspace doesn't timeout.

axonasif avatar Sep 21 '23 11:09 axonasif

It would be nice to not need to start that manually - is there a way I can get GitPod Workspaces to start with a vscodium URL instead (or at least get the vscode URL to clipboard for testing so I can manually change that to the other scheme)?

What part does the heartbeat on the "VSCode Desktop" option? The GitPod extension / an internal SSH connection / something else?

GitMensch avatar Sep 21 '23 11:09 GitMensch

All that's needed to support it should be respecting vscodium's protocol (because it has a different name) but I might be wrong. Just commenting.

Edit: whoops looks like someone else said that before me mb

KaspianDev avatar Sep 21 '23 13:09 KaspianDev

You should be able to connect using vscodium now, steps:

  • Install open-remote-ssh extension https://open-vsx.org/extension/jeanp413/open-remote-ssh
  • Install gitpod extension https://open-vsx.org/extension/gitpod/gitpod-desktop
  • Login using gitpod, see docs
  • Connect to an existing workspace using the workspace explorer view image
  • Creating new workspaces using the gitpod extension is not yet supported so you'll need to go to the gitpod dashboard to create a new workspace first and then connect from the workspace explorer view in vscodium

jeanp413 avatar Oct 12 '23 04:10 jeanp413

@jeanp413 Thanks for the info. I could not connect by following the instructions you posted. Will this work if I have vscode installed or it is best to remove vscode and follow the steps for codium? I saw that an access token was provided but it is not possible to add the token because the 'token option' for Gitpod is only available for private beta users.

ENate avatar Nov 15 '23 13:11 ENate

Will this work if I have vscode installed or it is best to remove vscode and follow the steps for codium?

yes, it should be fine to have both vscode and vscodium installed

I could not connect by following the instructions you posted.

@ENate Could you give more info about what step you failed to complete successfully? maybe share gitpod and/or remote-ssh extension logs

jeanp413 avatar Nov 20 '23 10:11 jeanp413

@jeanp413 connecting from vscodium works fine now, can you have a look at letting vscodium be opened by GitPod online, too?

It would be nice to not need to start that manually - is there a way I can get GitPod Workspaces to start with a vscodium URL instead (or at least get the vscode URL to clipboard for testing so I can manually change that to the other scheme)?

So a request to have an "Gitpod: Open in VSCodium" entry or at least a "Gitpod: Open vscode connection URL"?

GitMensch avatar Jan 10 '24 19:01 GitMensch