The problem is that we are using a markdown code block to render the type signature, and you can’t have links in that code block.
myThing :: [Type](file://typelink)
I tried with a <pre> tag but for some reason VS code will not display that at all. Though even if it worked we would’ve still lost the code highlighting.
I think we want to keep the syntax highlighting in the hover, so the types themselves should probably not be clickable.
I like your idea to display the links in a separate section of the hover box! For reference, this is what rust-analyzer does:
Yeah, this is much neater and can support a lot more types. Nice! If rust is doing it, then I guess we should be too. Before you know it, Haskell will be the new hot language everyone talks about!