• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

devonfw / IDEasy / 43020566664
75%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 12:31PM UTC
Jobs 1
Files 615
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Nov 2026 12:27PM UTC coverage: 75.347% (+0.1%) from 75.242%
43020566664

push

github

web-flow
#2393: open a project folder (--project) instead of the main workspace (#2565)

* #2491: add --project flag with path resolution/validation and getOpenPath() foundation

Introduces an optional --project flag on IDE launch commands (e.g. `ide intellij
--project <path>`). The flag is consumed by IDEasy and never passed through to the
IDE binary; its value becomes the folder the IDE opens.

Key parts:
- getOpenPath() is the single source of truth for "which folder does this launch
  open?": the explicit --project folder when given (relative paths resolved against
  the current working directory), otherwise getWorkspacePath() (today's default).
- A launch with a missing or not-a-folder --project path aborts with a clear error
  and the IDE is not started.
- extractProjectOption() strips the flag from the trailing passthrough args, which
  the framework would otherwise forward verbatim to the IDE binary.

Default (no-flag) behavior is unchanged.

* #2492: open the folder given by getOpenPath() in IntelliJ/VS Code launch args

Point the IDE launch-argument seams at getOpenPath() (sub-task #2 of #2393)
instead of getWorkspacePath(), so a launch with an explicit --project flag opens
exactly that folder:

- IdeaBasedIdeToolCommandlet.runTool appends getOpenPath() (covers all JetBrains /
  IDEA-based commandlets: IntelliJ, Android Studio, PyCharm, via the shared base).
- Vscode.configureToolArgs appends getOpenPath(); --user-data-dir / --profile stay
  on the main profile (sharing is decided behavior per #2393).

Without a --project flag getOpenPath() falls back to getWorkspacePath(), so the
default (main workspace) behavior is unchanged. Eclipse is left out (different
workspace model). Supersedes the no-flag CWD approach of #2434 / #2236.

Tests (AssertJ):
- IntelliJ with --project -> launch args target the selected folder, not the workspace.
- VS Code with --project -> configureToolArgs appends the folder; profile stays on main.
- VS Code no-flag -> configure... (continued)

6452 of 9489 branches covered (67.99%)

Branch coverage included in aggregate %.

16482 of 20949 relevant lines covered (78.68%)

3.39 hits per line

Coverage Regressions

Lines Coverage ∆ File
44
78.34
0.4% com/devonfw/tools/ide/tool/AbstractToolCommandlet.java
15
53.73
-1.34% com/devonfw/tools/ide/tool/pip/PipBasedIdeToolCommandlet.java
14
68.35
0.41% com/devonfw/tools/ide/tool/eclipse/Eclipse.java
8
92.02
0.03% com/devonfw/tools/ide/commandlet/CommandletManagerImpl.java
3
90.24
0.66% com/devonfw/tools/ide/tool/ide/AbstractIdeToolCommandlet.java
3
87.65
0.0% com/devonfw/tools/ide/tool/intellij/Intellij.java
2
89.58
0.22% com/devonfw/tools/ide/commandlet/AbstractCommandlet.java
Jobs
ID Job ID Ran Files Coverage
1 43020566664.1 11 Nov 2026 12:31PM UTC 615
75.35
GitHub Action Run
Source Files on build 43020566664
  • Tree
  • List 615
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43020566664
  • 54601038 on github
  • Prev Build on main (#43008562058)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc