scalameta / metals-feature-requests

Issue tracker for Metals feature requests
37 stars 4 forks source link

Rich hover for case classes and enums #390

Open keynmol opened 4 months ago

keynmol commented 4 months ago

Is your feature request related to a problem? Please describe.

In many other language servers, hovers are rich, containing fields and types. Metals only seems to show the name of the case class

Describe the solution you'd like

Listing all the fields of the case class

Describe alternatives you've considered

Here is how Gopls and Rust analyzer do it

CleanShot 2024-07-01 at 10 06 07

Additional context

No response

Search terms

case class hover enum