fast-tags: Fast incremental vi and emacs 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 and 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 by the editor of course, so there are separate git hooks to update on pulls etc.

With the --fully_qualified flag and a fancy vim function, it can disambiguate tags based on their qualification, even if it's locally renamed. So M.x will find A.B.x if you import A.B as M.

To see the configuration examples, you probably have to get the source via cabal unpack or git clone.

Limitations:

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

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


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
profile

add -auto-all

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

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
Change log changelog.md
Dependencies array, async (>=2.0.0.0), base (>=3 && <5), bytestring, Cabal, containers, deepseq, directory (>=1.3.0.0), fast-tags, filepath, mtl (>=2.1), text (<0.11.1.12 || >0.11.1.12), transformers, vector, void [details]
License BSD-3-Clause
Author Evan Laforge
Maintainer Evan Laforge <qdunkan@gmail.com>
Category Haskell, Development
Home page https://github.com/elaforge/fast-tags
Source repo head: git clone git://github.com/elaforge/fast-tags.git
Uploaded by EvanLaforge at 2022-06-27T04:31:11Z
Distributions NixOS:2.0.2
Reverse Dependencies 1 direct, 0 indirect [details]
Executables fast-tags
Downloads 14027 total (78 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-06-27 [all 1 reports]

Readme for fast-tags-2.0.2

[back to package description]

fast-tags - fast and robust tag generator for Haskell

Build Status

Supported GHC versions

Tested with GHC 7.10, 8.0, 8.2, 8.4, 8.4, 8.6, 8.8, 8.10, 9.0.

Installation

Build with either cabal or stack.

Usage

In order to generate tags for all Haskell files under current directory, issue

  fast-tags -R .

You can also generate tags that span accross directories or projects:

fast-tags -R . path/to/other/project

See the tools directory for editor and source control integration.