Skip to content

Add links to pub packages in dependencies tree #5589

Closed

Description

@DanTup

We have links in pubspec.yaml to packages, so maybe we should also have them here?

Image

Activity

  1. added this to the v3.116.0 milestone on Jul 8, 2025
  2. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in viewsRelates to custom views, like the Test tree or Dependencies tree
    on Jul 8, 2025
  3. FMorschel commented on Jul 8, 2025

    @FMorschel
    Contributor

    For almost all cases you could use what the server sends as the link but for transitive dependencies this wouldn't work. I do wonder if anyone would be interested though but I would like the consistency.

  4. DanTup commented on Jul 9, 2025

    @DanTup
    MemberAuthor

    The server doesn't "send" these links, but rather VS Code asks for them when you have the file open. We could simulate a request for them, but we'd still have to match up the links in the response.

    It's probably easiest to handle them locally even if it does require a little duplication.. as long as we can do it reliably (I'll have to review the server impl to remind myself how much logic there was to know which packages we can show them for).

  5. DanTup commented on Jul 9, 2025

    @DanTup
    MemberAuthor

    I implemented a slightly simpler version of this for hosted Pub packages, but I didn't try to support things like GitHub links here (for one, I don't think many people use this dependencies tree).

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 viewsRelates to custom views, like the Test tree or Dependencies treeis 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