[Haskell] ANNOUNCE: htags-1.0

Marc Weber marco-oweber at gmx.de
Mon Nov 3 19:20:43 EST 2008

On Mon, Nov 03, 2008 at 01:25:23PM -0500, David Sankel wrote:
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/htags
> htags is a tag file generator to enable extra functionality in editors
> like vim. It expands upon hasktags by using a full Haskell 98 parser
> and options for recursion.
Maybe you want to take some ideas from my enhanced hasktags version:

It has some features such as indexing only the first of those three
matches (if they are found within 5 lines)..
foo :: MyType -> IO ()
foo (Bar _) =
foo (Cee _) =

It's still not perfect.

How do you handle extensions and cpp stuff?

I mean will your program still parse

    foo =
    foo = 

? No it doesn't. I've tried it. It doesn't handle .lhs files as well.

Maybe it would be nice to have one hasktag program providing different
strategies on hackage which could by synchronized with the one
distributed with ghc?

For vim you can also add tag classes (eg telling vim wether a found
token is a (f)unction or a (c)lass ..)
See the output of my enhanced version to generate some examples.

Apart from .lhs and #ifdefs htags seems to work fine.


More information about the Haskell mailing list