Skip to content
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

Inlay hints of the resolved version from pubspec.lock #253

Open
SunlightBro opened this issue Aug 7, 2023 · 0 comments
Open

Inlay hints of the resolved version from pubspec.lock #253

SunlightBro opened this issue Aug 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@SunlightBro
Copy link

SunlightBro commented Aug 7, 2023

Describe the use-cases of your feature

Especially with a lot of packages that need to resolve their transitive dependencies,
it's not always useful to force the latest version of every package.

So it would be awesome to show the actual resolved version of a dependency in side the pubspec.yaml as an Inlay hint

(Additional)
If the resolved version in the pubspec.lock is already the latest, maybe don't show the
Hint/Quick Fix to "Update package"

image

Describe your solution

Either inspecting the the existing pubspec.lock,
or if that does not exist yet run dart pub upgrade -n

@SunlightBro SunlightBro added the enhancement New feature or request label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant