The hothasktags package
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 |
|---|---|
| Dependencies | base (4.*), containers, cpphs (≥1.11 & <1.15), filepath, haskell-src-exts (≥1.11 & <1.14) |
| License | BSD3 |
| Author | Luke Palmer <lrpalmer@gmail.com> |
| Maintainer | Luke Palmer <lrpalmer@gmail.com> |
| Category | Development |
| Home page | http://github.com/luqui/hothasktags |
| Source repository | git clone git://github.com/luqui/hothasktags.git |
| Executables | hothasktags |
| Upload date | Fri Jan 18 18:42:54 UTC 2013 |
| Uploaded by | LukePalmer |
| Distributions | Debian: 0.3.1 |
Downloads
- hothasktags-0.3.0.tar.gz (Cabal source package)
- package description (included in the package)