analyzer_plugin_proxy_generator 0.0.1
analyzer_plugin_proxy_generator: ^0.0.1 copied to clipboard
A plugin to proxy other analyzer plugins.
Analyzer plugin proxy generator #
A CLI tool to generate a proxy for multiple analyzer plugins.
Why #
As mentioned on this github issue only 1 plugin can be enabled per analysis_options.yaml file.
This approach is more like a workaround for this problem until the dart team provides official support for this.
How to run #
- Install
analyzer_plugin_proxy_generatoras a development dependency.
dev_dependencies:
analyzer_plugin_proxy_generator: any
-
Run
dart run analyzer_plugin_proxy_generator [--override]from the root of the project--overridewill override the existing packages/analyzer_plugin_proxy.- A new package named
analyzer_plugin_proxywill be created underpackagesfolder.
-
If the command runs successfully it will update your
pubspec.yamland you will be prompted with a few more steps to follow.
Notes #
As this is mostly created for personally usage I've kept it very simple. If you want to enhance this tool or improve it, PRs or issues are welcomed.