Skip to content

#788: Add support for IDE_OPTIONS variable per IDE commandlet - #2247

Open
Ali-Shariati-Najafabadi wants to merge 3 commits into
devonfw:mainfrom
Ali-Shariati-Najafabadi:feature/788-ide-options-flags
Open

#788: Add support for IDE_OPTIONS variable per IDE commandlet#2247
Ali-Shariati-Najafabadi wants to merge 3 commits into
devonfw:mainfrom
Ali-Shariati-Najafabadi:feature/788-ide-options-flags

Conversation

@Ali-Shariati-Najafabadi

Copy link
Copy Markdown
Contributor

This PR fixes #788

Implemented changes:

  • Added support for «IDE»_OPTIONS (e.g. INTELLIJ_OPTIONS, ECLIPSE_OPTIONS, VSCODE_OPTIONS, ANDROID_STUDIO_OPTIONS, PYCHARM_OPTIONS) to pass additional command-line arguments when starting an IDE, analogue to the existing global IDE_OPTIONS
  • Implemented once in IdeToolCommandlet.runTool(List<String>) so it applies to all IDE commandlets (Eclipse, IntelliJ, Android Studio, PyCharm, VSCode/VSCodium) without per-tool duplication
  • Scoped to only the actual IDE-launch call, not internal calls like plugin installation or repository import
  • Registered the new variables in IdeVariables.java and documented them in variables.adoc

Testing instructions

  1. Set e.g. INTELLIJ_OPTIONS=nosplash in conf/ide.properties
  2. Run ide intellij and verify the extra argument is passed to the IDE binary
  3. Automated coverage: mvn -Dtest=EclipseTest,IntellijTest,VscodeTest test in the cli module

Checklist for this PR

  • 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
  • You have formulated clear instructions on how to test your contribution under "Testing instructions"

@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Aug 3, 2026
@Ali-Shariati-Najafabadi Ali-Shariati-Najafabadi moved this from 🆕 New to 🏗 In progress in IDEasy board Aug 3, 2026
@Ali-Shariati-Najafabadi Ali-Shariati-Najafabadi added enhancement New feature or request android-studio Android Studio IDE from Jet-Brains vscode Microsoft visual studio code eclipse related to Eclipse IDE intellij IntelliJ IDE from Jet-Brains pycharm python IDE integration labels Aug 3, 2026
@hohwille hohwille moved this from 🏗 In progress to Team Review in IDEasy board Aug 3, 2026
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 30799297795

Coverage decreased (-0.02%) to 72.595%

Details

  • Coverage decreased (-0.02%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 10 coverage regressions across 3 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

10 previously-covered lines in 3 files lost coverage.

File Lines Losing Coverage Coverage
com/devonfw/tools/ide/tool/ide/IdeToolCommandlet.java 8 81.33%
com/devonfw/tools/ide/variable/IdeVariables.java 1 94.74%
com/devonfw/tools/ide/version/VersionSegment.java 1 90.03%

Coverage Stats

Coverage Status
Relevant Lines: 17249
Covered Lines: 13065
Line Coverage: 75.74%
Relevant Branches: 7633
Covered Branches: 4998
Branch Coverage: 65.48%
Branches in Coverage %: Yes
Coverage Strength: 3.22 hits per line

💛 - Coveralls

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

Labels

android-studio Android Studio IDE from Jet-Brains eclipse related to Eclipse IDE enhancement New feature or request intellij IntelliJ IDE from Jet-Brains pycharm python IDE integration vscode Microsoft visual studio code

Projects

Status: Team Review

Development

Successfully merging this pull request may close these issues.

Add more starting flags to IDE commandlets

4 participants