Generates ctags for Haskell, incorporating import lists and qualified imports

Latest on Hackage:0.3.8

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

BSD3 licensed and maintained by Luke Palmer

hothasktags generates ctags files for Haskell, with knowledge of import lists and qualified imports. It provides a smart go-to-definition for Vim, that almost always gets it right in the presence of multiple names from different modules.

You will want to configure Vim to allow dots in keywords, because hothasktags generates tags for qualified names. You can do this with:

set iskeyword=a-z,A-Z,_,.,39

(The 39 is for the prime character)

Usage is easy, just give hothasktags the names of all the haskell sources you want to index and redirect into a tags file. For example:

find . -name '*.hs' | xargs hothasktags > tags

will index all the hs files under the current directory.

comments powered byDisqus