Skip to content

Ask which file to open if package: uri has multiple matches from a terminal Ctrl+Click #5692

Closed

Description

@FMorschel

Is your feature request related to a problem? Please describe.
If you have two projects in a folder/VS Code workspace, and they both depend on the same package for different versions (or if any is the actual package and the other is from pub), we are currently assuming one of the package: uris to open.

Describe the solution you'd like
I'd like to be asked what file to open.

Describe alternatives you've considered
Knowing which file it refers to and opening it manually.

Additional context

  1. Clone https://github.com/fmorschel/package_uri_repro
  2. Pub get
  3. Run repro/bin/dart on the terminal and Ctrl + Click the URI.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Sep 9, 2025
  2. changed the title [-]Ask what file to open if `package:` uri and more than one is available on workspace[/-] [+]Ask which file to open if `package:` uri has multiple matches from a terminal Ctrl+Click[/+] on Sep 11, 2025
  3. added this to the v3.120.0 milestone on Sep 11, 2025
  4. added
    in editorRelates to code editing or language features
    on Sep 11, 2025
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 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