feat: Add functionality to manually install formatter plugins via zip… #171
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add functionality to manually install formatter plugins via zip files in the menu
Please check if the PR fulfills these requirements:
Related issue (if applicable): #
What kind of change does this PR introduce?
This PR introduces a new feature that allows users to manually install formatter plugins from local zip files, providing an alternative installation method when GitHub access is unreliable.
Does this PR introduce a breaking change?
No, this change is fully backward compatible. The existing GitHub download functionality remains unchanged, and the local zip installation is added as an additional option.
New feature or change
Added a new menu option to install formatter from local zip file, which is especially useful in network environments with limited access to GitHub.
What is the current behavior?
Currently, the plugin only supports downloading formatter binaries directly from GitHub releases. Users in regions with poor GitHub connectivity may experience frequent download failures.
What is the new behavior?
Users now have two installation options:
The new functionality extracts and installs the formatter binary from the local zip file, providing a reliable fallback when GitHub access is problematic.
Other information
This change enhances the plugin's usability in various network environments while maintaining full compatibility with existing workflows. The implementation includes proper error handling for zip file operations and maintains the same installation directory structure as the GitHub download method.