[#1675] Add module signatures on hover
Compare changes
- #1675] Add module signatures on hoverLeonid Vasilev authored
@@ -101,10 +101,10 @@ let hover_string
Right now there is a (* ... *)
placeholder for module signatures
on hover. Let's fill it with the right signature.
Propagate signatures like types inside types pass in the scopes module.
Decompile these Ast_typed.signature
and use pretty printers to show
them to the user.
Resolves #1675 (closed) .
README.md
file for the plugin and did so if necessary:
Added signatures for modules on hovering. They're displayed like:
module Bytes : sig
val concats : bytes list -> bytes
val pack : a -> bytes
val unpack : bytes -> a option
val length : bytes -> nat
val concat : bytes -> bytes -> bytes
val sub : nat -> nat -> bytes -> bytes
end
dune @fmt
to check).## Changelog
section with #### (if appropriate).