sdk
sdk copied to clipboard
[analysis_server_plugin] Analyzer plugins not working in workspace?
I'm trying to setup and use a custom analyzer plugin in a Dart workspace, but there are several things that are not working.
I have a workspace-level analysis_options.yaml that defines the plugin from path, e.g.
plugins:
jaspr_lints:
path: packages/jaspr_lints
diagnostics: ...
Result:
- ✅ Plugin gets detected according to analyzer diagnostics page
- ❌ No lint warnings reported in IDE
- ❌ No lint warnings reported with
dart analyze - ✅ Assists available in IDE