hover-tooltips-hdevtools
Show types for identifiers in Haskell source, using hdevtools
Ranjit Jhala 1,653 3 0.10.0 MIT GitHub

hover-tooltips-hdevtools

This Atom package displays the type of an identifier (in a Haskell source file) as a tooltip. The type is obtained using hdevtools.

Screenshot of hover-tooltips-hdevtools

Usage

  • Install hdevtools e.g. via cabal install hdevtools
  • Place mouse over identifier, and presto!

Note: types will only be displayed if there are no errors in the source file. Thus, this package goes well with linter-hdevtools which will quickly lint source and highlight errors etc.

Configuration

  • Tweak styles/hover-tooltips-hdevtools.less to change fonts etc.
  • Tweak executablePath if your hdevtools is hiding outside of $PATH

Inspirations