Skip to content

Support adding dependencies for depend_on_referenced_packages #4721

Closed

Description

@DanTup

When you paste imports that are not in your pubspec, we usually show a "Add foo to dependencies" quick-fix. This doesn't happen if the package is a transitive dependency because the error code is depend_on_referenced_packages and not one of ["uri_does_not_exist", "conditional_uri_does_not_exist"].

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in editorRelates to code editing or language features
    in commandsRelates to commands (usually invoked from the command Palette)
    on Sep 5, 2023
  2. added this to the v3.74.0 milestone on Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in commandsRelates to commands (usually invoked from the command Palette)in editorRelates to code editing or language featuresis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions