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 . -name '*.hs' | xargs hothasktags > tags

will index all the hs files under the current directory.

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 array, base (==4.*), containers, cpphs (>=1.11 && <1.21), filemanip, filepath, Glob, haskell-src-exts (==1.17.*), optparse-applicative, split [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 Sun Jun 19 09:51:52 UTC 2016 by LukePalmer
Distributions Debian:0.3.3, NixOS:0.3.7
Downloads 2418 total (24 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees