atom-ide-reason icon indicating copy to clipboard operation
atom-ide-reason copied to clipboard

Types inside of functors are difficult to read

Open johnhaley81 opened this issue 7 years ago • 5 comments

👋

I don't know if this is the correct repo to write this up in.

When using functors, any types that inside of that functor don't give their types on mouse-over. They give the entire functor's type which could be very large and difficult to read.

Ex: image

johnhaley81 avatar Jul 25 '18 17:07 johnhaley81

Let’s see how it works w/ RLS when #27 will be merged.

alex35mil avatar Aug 18 '18 08:08 alex35mil

This is interesting as I raised a similar issue with VsCode and it is probably an issue with an underlying library.

I would assume if this is fixed here, the same fix may work for VsCode (or I'll start using Atom!)

RawToast avatar Sep 19 '18 01:09 RawToast

@RawToast We didn't do anything special about it, just updated from ocaml-language-server to reason-language-server. If you're using OLS in VSCode you can change extension you're using and you'll get the same result.

alex35mil avatar Sep 19 '18 02:09 alex35mil

I haven't seen an improvement with RLS :(

johnhaley81 avatar Sep 19 '18 02:09 johnhaley81

Then RLS repo is a more proper place for this issue, all clients just display data from language server.

alex35mil avatar Sep 19 '18 06:09 alex35mil