[Haskell-cafe] ANN haskdogs-0.3.2
Sergey Mironov
ierton at gmail.com
Mon May 13 11:15:02 CEST 2013
Hi. I'm pleased to announce haskdogs-0.3.2, a source navigation helper.
Haskdogs is a small HSH-based tool which calls hasktags to create tag file for
entire haskell project. It takes into account first-level dependencies by
recursively scanning imports and adding matching packages to the final tag list.
As a result, programmer can use her text editor supporting tags (vim, for
example) to jump directly to definition of any function she uses.
Note that haskdogs call Unix shell commands like 'test' or 'mkdir' so this tool
will likely fail to work on pure Windows platforms. In return, haskdogs is
pretty small - only 125 lines long.
Changes:
* Generate extended tag file by default (hasktags -c -x)
* Add -d command line option which allows user to specify additional source
directories
* Fix no-sources bug
Github: https://github.com/ierton/haskdogs
See also Vim-hint at https://github.com/ierton/haskdogs#vim-hint
Install:
cabal install hasktags haskdogs
Usage:
haskdogs [-d (FILE|'-')] [FLAGS]
FLAGS will be passed to hasktags as-is followed by
a list of files. Defaults to -c -x.
Basically, just run haskdogs in your Haskell project directory
Thanks to yihuang for the contributions!
Sergey
More information about the Haskell-Cafe
mailing list