Skip to content

Add completion for Add Dependency when using dev: prefix #5998

Closed

Description

@FMorschel

Is your feature request related to a problem? Please describe.
The dart pub add and flutter pub add commands accept the dev: prefix before a package name. But the completion is gone if you write that.

Describe the solution you'd like
Detect if the user wrote dev: and add the suggestions after that.

Additional context
It already works fine, we just don't have completions. Somewhat related to:

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Mar 23, 2026
  2. added this to the v3.134.0 milestone on Apr 14, 2026
  3. added
    in commandsRelates to commands (usually invoked from the command Palette)
    on Apr 14, 2026
  4. FMorschel commented on Apr 17, 2026

    @FMorschel
    ContributorAuthor

    Would you mind publishing a pre-release for this, please, @DanTup? Thanks!

  5. DanTup commented on Apr 21, 2026

    @DanTup
    Member

    @FMorschel sorry for the delay - I've just published v3.133.20260421. It'll take 20 mins or so to show up.

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)is 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