ublue-os / bluefin

The next generation Linux workstation, designed for reliability, performance, and sustainability.
https://projectbluefin.io
Apache License 2.0
1.27k stars 163 forks source link

Option to swap out VSCode for VSCodium #1691

Open TiemenSch opened 2 months ago

TiemenSch commented 2 months ago

Describe the package

I'd like to request the package VSCodium because I would like to keep the image a bit more FOSS and less of a "telemetry farm" for MS.

https://vscodium.com/

How would I go about replacing this? From what I can see it's quite heavily integrated in the system configuration and devcontainer setup.

To begin with, I think it would default to installing vscodium (of course) and adding a command alias code that redirects to codium.

The harder part is to check whether all extensions also exist on the open extension marketplace https://open-vsx.org and to migrate the IDE/extension config.

Image

All Images

castrojo commented 2 months ago

You'd have to make a custom image for this: https://github.com/ublue-os/image-template

TiemenSch commented 2 months ago

I'm looking for a solution where it's all bluefin and it's tweaks, with this as the key change. I was wondering whether it is a flavor uBlue would consider.

Then again, I might just start cherry picking all changes in this repo to be built using that template in the end anyways.

m2Giles commented 2 months ago

I would recommend going the custom image route if you want to completely remove and replace it. At this time this is not something we are considering for Bluefin given the capability gap between the two products.

Additionally, you do not have to use VSCode while using Bluefin. If having it appear in your application list is something you want to avoid, you can copy the desktop file to a writable data-dirs directory and add the hidden key to the desktop file.

salim-b commented 1 month ago

(...) given the capability gap between the two products.

Would you care to further elaborate on what capabilities VSCodium is missing exactly (besides obtaining extensions from the Open VSX Registry instead of Microsofts proprietary Marketplace)? I'm sincerely interested.

TiemenSch commented 1 month ago

The editor itself is pretty much identical, but VSCodium skips the telemetry parts wherever it can. This results in having to default to the open VSX registry for extensions.

I personally don't use the containerized development aspects of uBlue that much, but since that is promoted as a big part of the DX I tried to see some feature parity was possible. Most notable differences I came across:

I might have overlooked some Microsoft-only extensions. Bundling an extension for VSCode or VSCodium is no different, so for most open-source extensions it's just adding a CI job to publish it to Open VSX as well. It's just MS that has an incentive to close some parts down for varying reasons such as AI training or usage and/or telemetry.

OneCricketeer commented 1 week ago

Eclipse Theia is another option that promotes containerized development (and is basically a fork of VSCode)