haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.67k stars 364 forks source link

Show information on installed package versions #4416

Open VeryMilkyJoe opened 1 week ago

VeryMilkyJoe commented 1 week ago

It would be useful to be able to see the installed version for each package dependency in a cabal file.

We could either show this in form of a code lens, or on hover, but we probably want both, seeing that users might turn off code lenses.

For implementing this, we can look at the project's plan.json file and simply find the entry where name corresponds to the package's name and then show the version of this entry.

lucalabs-de commented 1 week ago

I'll work on this.