
I have finally updated the tool to use `hasktags` by default as after more
in depth testing I realize that the quality is much better in term of
dealing with namespaces.
In fact I made the tagger command fully configurable (with template for
hasktags and ctags), the tool now store as well a 'hash' of the dependency
graph in the tags file to avoid recomputing it when there is no need (that
easy to integrate the tool as hook).
More information in the README:
https://github.com/aloiscochard/codex#usage
Cheers
On 24 April 2014 23:54, Alois Cochard
Hi,
Just to let you know that I released a tool which allow to generate a tags[1] file for a given cabal project using the sources of all the dependencies of that project.
`cabal install codex`
You can simply run `codex update` in one of your cabal project directory and you'll get a 'codex.tags' file to feed in your favorite text editors.
It store the source code in the hackage local cache, and it store there as well the tags file per module (so the tool just aggregate per project).
I hope it will be useful to other hackers, it's a joy for me in vim when using unknown libraries.
Note: This tool actually use `ctags` but that could be easily made configurable if someone need it, integrating native haskell tagger is an option too. I personally like using ctags, it's very fast.
*[1]Those tags file basically contain references to functions/types definition in source code and allow "jump to definition" like functionality in text editors.*
source: http://github.com/aloiscochard/codex hackage: http://hackage.haskell.org/package/codex
-- *Alois Cochard* http://twitter.com/aloiscochard
-- *Alois Cochard* http://aloiscochard.blogspot.com http://twitter.com/aloiscochard http://github.com/aloiscochard