zalmoxisus / hover-tooltips-hdevtools

Atom package displaying types on hover using hdevtools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Atom package displaying types on hover using hdevtools

License:MIT License


Languages

Language:JavaScript 46.8%Language:TypeScript 43.5%Language:CSS 9.6%