Skip to content

Add the ability to check if "pub get" needs running #1447

@DanTup

Description

@DanTup

When a user opens a Dart project in Dart Code I'd like to inform them if they need to run pub get (with an easy button to do so) to avoid lots of analysis errors opening freshy-cloned/updated projects.

Currently there doesn't seem to be a way to detect if local packages are out of date in order to prompt the user (we could try checking timestamps on .packages and pubspec.yaml but it's not very reliable) so it'd be nice if something could be added.

(I'm requesting this in pub, but I don't know if it might make sense elsewhere; feel free to request I re-raise this in sdk or somewhere if it would be more appropriate there).

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions