The hothasktags package

[Tags:bsd3, program]

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 . | egrep '\.hs$' | xargs hothasktags > tags

will index all the hs files under the current directory.

hothasktags does not work with the emacs tag file format. Sorry.

Properties

Versions 0.0.1, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7
Dependencies base (==4.*), containers, cpphs (>=1.11 && <1.15), filepath, haskell-src-exts (>=1.11 && <1.14) [details]
License BSD3
Author Luke Palmer <lrpalmer@gmail.com>
Maintainer Luke Palmer <lrpalmer@gmail.com>
Stability Unknown
Category Development
Home page http://github.com/luqui/hothasktags
Source repository head: git clone git://github.com/luqui/hothasktags.git
Uploaded Fri Jan 18 18:42:54 UTC 2013 by LukePalmer
Distributions Debian:0.3.3, NixOS:0.3.7
Downloads 2481 total (65 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Last success reported on 2015-05-31 [all 5 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees