jaredly / reason-language-server

A language server for reason, in reason
MIT License
657 stars 84 forks source link

Show OCaml type signatures in .ml files #265

Open ryloric opened 5 years ago

ryloric commented 5 years ago

Hi,

CodeLens/Hover shows reasonml type signatures while editing .ml files. I couldn't find any option within the plugin to change it.

2019-04-05-192233_3840x1080_scrot

This behavior can be seen in the above screenshot with make function showing a reasonml signature in both the codelens above it and in the hover dialog.

donut commented 5 years ago

I only get the Reason type signatures in the tooltip:

Screen Shot 2019-04-16 at 14 17 54

How do you get the header/footer OCaml style type signatures?

Huxpro commented 5 years ago

I suspect the OG enabled both this new language server and the original one (OCaml and Reason IDE)?

donut commented 5 years ago

That makes sense, thanks.