You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add package to dependencies doesn't trigger when the dependency is the prefix for another existing dependency #5754
Describe the bug
Currently, the extension shows a fix for depend_on_referenced_package, but I found a case that doesn't show the fix.
To Reproduce
Steps to reproduce the behavior:
Add analyzer_plugin: 0.13.9 to the dependencies and create a subclass of ServerPlugin, which should ask to add missing members and one of them will use the analyzer class AnalysisContext
The import it shows is from a non-direct dependency and will cause the diagnostic to trigger
I believe the extension only tracks if we have a dependency where the name starts with analyzer so this case doesn't show up
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
Dart 3.11.0-edge.1974c2360e1ee4345b9cb15929b1a2465559dc18 (main) (Mon Oct 6 18:46:13 2025 -0700) on "windows_x64"
I'm not sure it is worth doing this right now, but I've also noticed that when it does show up, it shows below the existing ignore fixes. Different from all our other server fixes.
Activity
FMorschel commentedon Oct 16, 2025
I'm not sure it is worth doing this right now, but I've also noticed that when it does show up, it shows below the existing
ignorefixes. Different from all our other server fixes.