fast-tags: Fast incremental vi tags.

[ bsd3, development, haskell, library, program ] [ Propose Tags ]

Yet another tags program. Like hasktags, it uses its own parser rather than haskell-src or haskell-src-exts, so it's fast. It understands hsc files, though not literate haskell.

In addition, it will load an existing tags file and merge generated tags.

The intent is to bind it to vim's BufWrite autocommand to automatically keep the tags file up to date. This only works for files changed be the editor of course, so you may want to bind 'rm tags' to a pull posthook.

Changes since 0.0.4:

  • Tags with the same name are sorted by their type: Function, Type, Constructor, Class, Module.

Changes since 0.0.3:

  • Fixed bug that prevented old tags from being filtered out.

Changes since 0.0.2:

  • Lots of speed ups, especially when given lots of files at once.

  • Support for type families and GADTs.

  • Support infix operators, multiple declarations per line, and fix various other bugs that missed or gave bad tags.

Limitations:

  • No emacs tags, but they would be easy to add.

  • Not using a real haskell parser means there are more likely to be dark corners that don't parse right.

  • Only top-level functions with type declarations are tagged. Top-level functions without type declarations are skipped, as are ones inside let or where.

  • Code has to be indented "properly", so brace and semicolon style with strange dedents will probably confuse it.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 1.0, 1.0.1, 1.1.0, 1.1.1, 1.2, 1.2.1, 1.3, 1.4, 1.4.1, 1.4.2, 1.5.0, 2.0.0, 2.0.1, 2.0.2
Dependencies base (>=3 && <5), containers, text (<0.11.1.12 || >0.11.1.12) [details]
License BSD-3-Clause
Author Evan Laforge
Maintainer Evan Laforge <qdunkan@gmail.com>
Category Haskell, Development
Source repo head: git clone git://github.com/elaforge/fast-tags.git
Uploaded by EvanLaforge at 2012-05-13T02:12:42Z
Distributions NixOS:2.0.2
Reverse Dependencies 1 direct, 0 indirect [details]
Executables fast-tags
Downloads 14055 total (82 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-25 [all 7 reports]

Readme for fast-tags-0.0.5

[back to package description]
See vimrc for an example of how to keep the tags file up to date
automatically.

TODO:

- Lots of files are not in UTF8.  Use ByteString with a lenient decoder?

- \ continuation in strings is not parsed correctly.

- Literate haskell.

- Entire module indented.  But who does this?