BSD Ports

wip/hs-hothasktags 0.3.2 NetBSD

Generates ctags for Haskell

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
License
modified-bsd
Categories
wip, devel

Description

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.

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/hs-hothasktags && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.