Skip to content

#2056 Replaced progress bar with progress information for plugin installation#2105

Open
oanding-blrng wants to merge 12 commits into
devonfw:mainfrom
oanding-blrng:feature/2056-remove-progress-bar-for-vscode-plugins
Open

#2056 Replaced progress bar with progress information for plugin installation#2105
oanding-blrng wants to merge 12 commits into
devonfw:mainfrom
oanding-blrng:feature/2056-remove-progress-bar-for-vscode-plugins

Conversation

@oanding-blrng

@oanding-blrng oanding-blrng commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #2056

Implemented changes:

  • Removed custom implementation for VSCode for installing plugins and therefore progress bar for installing wont appear anymore
  • Added a general progress marker (e.g. (N/M)) in default implementation for installing plugins in PluginBasedCommandlet (progress marker should be visible also for installing plugins in other plugin based IDEs, if plugins are setup in settings
  • Modified expected log output in tests for AndroidStudio, Eclipse, IntelliJ Idea, PyCharm and PluginBasedCommandlet and VSCode

Testing instructions

Please add conscise, understandable instructions on how a reviewer can test/verify the functionality of your contribution here:

  1. Uninstall VSCode with ide uninstall vscode to force installation
  2. Create run configuration in IntelliJ for ide-cli module
  3. Let the working directory point to the current ide project
  4. Add vscode or install vscode as the program argument
  5. Execute run configuration

Retesting after Merge

  1. Uninstall VSCode with ide uninstall vscode to force installation
  2. Run ide vscode or ide install vscode

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

* Removed custom implementation of installPlugins() with progressbar in Vscode.java
* Modified name of stop with progress marker "(n/m)" in installPlugins() in PluginBasedCommandlet.java.
…tive plugins and also use the total amount of active plugins instead of all.
@github-project-automation github-project-automation Bot moved this to 🆕 New in IDEasy board Jul 3, 2026
@oanding-blrng oanding-blrng self-assigned this Jul 3, 2026
@oanding-blrng oanding-blrng added enhancement New feature or request vscode Microsoft visual studio code plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) logging IDEasy specific logging (levels, messages, etc.) step Logging and monitoring of process steps labels Jul 3, 2026
@oanding-blrng oanding-blrng moved this from 🆕 New to 🏗 In progress in IDEasy board Jul 3, 2026
@coveralls

coveralls commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 28850652896

Coverage decreased (-0.03%) to 72.04%

Details

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

Uncovered Changes

No uncovered changes found.

Coverage Regressions

24 previously-covered lines in 6 files lost coverage.

File Lines Losing Coverage Coverage
com/devonfw/tools/ide/tool/plugin/PluginBasedCommandlet.java 10 86.63%
com/devonfw/tools/ide/process/ProcessContextImpl.java 5 78.98%
com/devonfw/tools/ide/tool/vscode/Vscode.java 4 86.67%
com/devonfw/tools/ide/context/IdeContext.java 3 75.4%
com/devonfw/tools/ide/log/IdeLogLevel.java 1 78.3%
com/devonfw/tools/ide/url/model/AbstractUrlArtifact.java 1 85.71%

Coverage Stats

Coverage Status
Relevant Lines: 16552
Covered Lines: 12421
Line Coverage: 75.04%
Relevant Branches: 7432
Covered Branches: 4857
Branch Coverage: 65.35%
Branches in Coverage %: Yes
Coverage Strength: 3.18 hits per line

💛 - Coveralls

@oanding-blrng oanding-blrng marked this pull request as ready for review July 3, 2026 12:21
@oanding-blrng oanding-blrng moved this from 🏗 In progress to Team Review in IDEasy board Jul 3, 2026
@Caylipp

Caylipp commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Good Job on the Implementation.
I tested it successfully.
image
Plugin installation now shows progress information instead of the progress bar. Works as expected.
Looks good to me!

@Caylipp Caylipp moved this from Team Review to 👀 In review in IDEasy board Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request logging IDEasy specific logging (levels, messages, etc.) plugins related to plugins (for Eclipse, Intellij, VSCode, etc.) step Logging and monitoring of process steps vscode Microsoft visual studio code

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

Remove progress bar for vscode plugins

4 participants