-
Notifications
You must be signed in to change notification settings - Fork 229
Introduce: dart pub add --dry-run --json
#3333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do we know how |
I'm closing this because it's unclear if this will be useful for Anyone who needs this feel free to reopen. |
Hmm, on second thought if the IDE only updates |
@pq what is the time budget available for generating a quick-fix? How fast would |
We haven't measured this but it should be very fast. The rub is that until fixes are calculated, we can't communicate (via an affordance in the IDE) that there are fixes available. For example: RE: analysis server integration, I do wonder if we couldn't cache the result. In that case we might be able to tolerate a slow(er) first response with the promise of subsequent results being instantaneous. |
We probably want
dart pub add --dry-run --json
to output something along the lines of:Just like other
dart pub
commands this will:pubspec.yaml
andpubspec.lock
to be located in CWD (or specified usingdart pub add ... --directory path/to/myapp/
),$PUB_CACHE
(notably caching version listings).The text was updated successfully, but these errors were encountered: