-
Notifications
You must be signed in to change notification settings - Fork 340
Description
The offers a command to run dart pub upgrade.
It would be cool to have a Control + Shift + P command to do:
dart pub upgrade --major-versions
Running dart pub upgrade --major-versions does mutate the pubspec.yaml.
In an ideal world we could perhaps snapshot the pubspec.yaml before / after running dart pub upgrade --major-versions and present the user with a diff. Or something like that?
Or maybe we open the pubspec.yaml and do some tricks to ensure that the on-disk-mutation of pubspec.yaml can be reverted using the undo-stack.
Or maybe we simply ask for confirmation before running dart pub upgrade --major-versions if the current pubspec.yaml haven't been committed to git?
I imagine that this would appear in the Control + Shift + P command palette along side dart pub upgrade:
Just a feature request, to help users discover this feature.
