Open Alizter opened 1 year ago
Currently our hover function only shows the type. This can be pretty useless when hovering over Inductive and Record types as it will just report Type. We should make it also print the definitions in those cases.
Type
This is probably a nicer user experience.
I agree, also cc #341
I've just merged #562 which adds extensible hover support, this could be fixed by writing an OCaml function from Ast.t to the required markdown.
Ast.t
Currently our hover function only shows the type. This can be pretty useless when hovering over Inductive and Record types as it will just report
Type
. We should make it also print the definitions in those cases.This is probably a nicer user experience.