Skip to content

#1849: Add support for VSCodium#1888

Open
laert-ll wants to merge 14 commits into
devonfw:mainfrom
laert-ll:feature/1849-support-vscodium
Open

#1849: Add support for VSCodium#1888
laert-ll wants to merge 14 commits into
devonfw:mainfrom
laert-ll:feature/1849-support-vscodium

Conversation

@laert-ll
Copy link
Copy Markdown
Contributor

@laert-ll laert-ll commented May 4, 2026

This PR fixes #1849

Implemented changes:

  • Added VSCodium as alternative edition to VSCode
  • Adjusted plugin installation error logging due to mismatch between VSCode & VSCodium plugins
  • Added test cases for implemented changes

Checklist for this PR

Make sure everything is checked before merging this PR. For further info please also see
our DoD.

  • When running mvn clean test locally all tests pass and build is successful
  • PR title is of the form #«issue-id»: «brief summary» (e.g. #921: fixed setup.bat). If no issue ID exists, title only.
  • PR top-level comment summarizes what has been done and contains link to addressed issue(s)
  • PR and issue(s) have suitable labels
  • Issue is set to In Progress and assigned to you or there is no issue (might happen for very small PRs)
  • You followed all coding conventions
  • You have added the issue implemented by your PR in CHANGELOG.adoc unless issue is labeled
    with internal

@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board May 4, 2026
@laert-ll laert-ll self-assigned this May 4, 2026
@laert-ll laert-ll moved this to 🏗 In progress in IDEasy board May 4, 2026
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented May 4, 2026

Coverage Report for CI Build 26298418261

Warning

No base build found for commit 22c5b14 on main.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 71.079%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 15600
Covered Lines: 11566
Line Coverage: 74.14%
Relevant Branches: 6968
Covered Branches: 4475
Branch Coverage: 64.22%
Branches in Coverage %: Yes
Coverage Strength: 3.14 hits per line

💛 - Coveralls

@laert-ll laert-ll force-pushed the feature/1849-support-vscodium branch from 7561315 to 24015b6 Compare May 5, 2026 06:20
@laert-ll laert-ll marked this pull request as ready for review May 5, 2026 08:15
@hohwille hohwille moved this from 🏗 In progress to Team Review in IDEasy board May 5, 2026
@AdemZarrouki AdemZarrouki self-requested a review May 5, 2026 12:05
@AdemZarrouki
Copy link
Copy Markdown
Contributor

I think we should add VSCodium to the table of tools in LICENSE.asciidoc as it has a different license (see https://github.com/VSCodium/vscodium/blob/master/LICENSE).

Also we need to add the tool to both Help.properties and Help_de.properties

Copy link
Copy Markdown
Contributor

@AdemZarrouki AdemZarrouki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest moving vscodium to a seperate folder and not puting it together with vscode to improve readability but its not a must. Maybe @hohwille can suggest if this is needed here or not. Otherwise, everything is fine from my point of view.
Nice job @laert-ll

@AdemZarrouki
Copy link
Copy Markdown
Contributor

AdemZarrouki commented May 5, 2026

Also i think we are missing tests for the VSCodium. Maybe something like https://github.com/devonfw/IDEasy/blob/main/cli/src/test/java/com/devonfw/tools/ide/tool/vscode/VscodeTest.java

@laert-ll laert-ll force-pushed the feature/1849-support-vscodium branch from ccf6c23 to 13862e9 Compare May 7, 2026 08:44
@laert-ll laert-ll moved this from Team Review to 👀 In review in IDEasy board May 8, 2026
@laert-ll laert-ll force-pushed the feature/1849-support-vscodium branch from 506e6ee to d62e97c Compare May 11, 2026 06:31
@laert-ll laert-ll requested a review from hohwille May 11, 2026 08:18
@laert-ll laert-ll force-pushed the feature/1849-support-vscodium branch 2 times, most recently from bf094ac to 00ffa58 Compare May 20, 2026 06:30
Comment on lines +74 to +81
}, suppressLevel);
if (isVscodium && !this.vscodiumUnavailablePlugins.isEmpty()) {
LOG.warn("{} plugin(s) could not be installed on VSCodium due to not being available on open-vsx or other errors:\n - {}\n"
+ "For full plugin support, set VSCODE_EDITION=vscode to use Microsoft's distribution.\n"
+ "For more detailed information on why plugins failed to install, check the IDEasy logfile at $IDE_ROOT/_ide/logs/.",
this.vscodiumUnavailablePlugins.size(),
String.join("\n - ", this.vscodiumUnavailablePlugins));
}
Copy link
Copy Markdown
Contributor Author

@laert-ll laert-ll May 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue: VSCodium does not support all the plugins that VSCode does.

I figured it would be better to suppress the very large red error messages that normally come when not being able to install the plugins, since it gives the impression that this is unexpected behavior. This is a temporary workaround for potentially a future story where we would have a separate list of plugins that are compatible with VSCodium.

@laert-ll laert-ll force-pushed the feature/1849-support-vscodium branch from 911a75d to 1fcb597 Compare May 21, 2026 08:17
Copy link
Copy Markdown
Member

@hohwille hohwille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@laert-ll thanks for your PR to support and integrate VSCodium. This looks pretty much complete with URLUpdater, Commandlet, Tests, Help, etc. 👍
Great that you also added special support for incompatible plugins.
I hope the statefulness (adding this List<String> as field vscodiumUnavailablePlugins) will not cause problems in the future but for now it should work fine and I could not find any idea how to solve this stateless.

/**
* {@link GithubUrlTagUpdater} for the "vscodium" edition of vscode (<a href="https://vscodium.com/">VSCodium</a>).
*/
public class VsCodiumUrlUpdater extends GithubUrlTagUpdater {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are GitHub releases available for VSCodium:
https://github.com/VSCodium/vscodium/releases/

As we already discussed in such case GithubUrlReleaseUpdater should be preferred.
See also #1949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

Support VSCodium

4 participants