-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Show package descriptions in Cabal plugin #4428
base: master
Are you sure you want to change the base?
Show package descriptions in Cabal plugin #4428
Conversation
Huh, apparently |
I discussed this feature with @wz1000 and GHC is aware of all the package databases in the current compiler session. The package database contains the relevant info (e.g. In short, there should be a way forward for this feature, that avoids calling |
Great news! I'll happily incorporate that. Do you have any specific ideas for a way forward? |
Not yet, I need to do some research, but Ill write it down and let you know once I have some idea :) |
This PR adds a proof of concept for showing the description for a package when it's hovered in a
.cabal
file, e.g.:This uses
cabal info <package name>
under the hood and parses its output.