Skip to content

Reinstall all plugins for IDE in force mode #1880

@areinicke

Description

@areinicke

Feature idea

Currently, IDEasy will install all the plugins for your IDE as configured in the project settings. The successful installation of each plugin is accompanied by the creation of a plugin markerfile. Upon launching the IDE, IDEasy checks whether all plugins are properly installed by verifying the existence of each markerfile. Should a markerfile for a plugin be missing, the plugin will be (re)installed.

However, issues arise if the user decides to uninstall (or upgrade) plugins within the IDE. These actions do not cause the markerfile to be removed (or adjusted). This means that IDEasy will never notice that the plugin was removed (or upgraded) and will never reinstall the plugin - even when running ide update. This makes it difficult for the user to revert to the original configuration if they want. They would have to either manually remove the plugin markerfiles or uninstall and reinstall the ide. Both of these options are cumbersome.

Instead, I propose that we add a way to allow the user to reset all plugins for a IDE. For example, when running "ide -f vscode" (uses force mode), the user is prompted if they want to reset all plugins. Should they choose yes, all plugins are deleted and subsequently reinstalled.

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpluginsrelated to plugins (for Eclipse, Intellij, VSCode, etc.)settingside-settings repo and replated processes and features

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions