<div dir="ltr">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.<div><br></div><div>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).</div>
<div><br></div><div>More information in the README:</div><div><a href="https://github.com/aloiscochard/codex#usage">https://github.com/aloiscochard/codex#usage</a><br></div><div><br></div><div>Cheers</div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 24 April 2014 23:54, Alois Cochard <span dir="ltr"><<a href="mailto:alois.cochard@gmail.com" target="_blank">alois.cochard@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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.</div>
<div><br></div>
<div>`cabal install codex`</div><div><br></div><div>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.</div><div>

<br></div><div>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).</div><div><br></div><div>I hope it will be useful to other hackers, it's a joy for me in vim when using unknown libraries.</div>

<div><br></div><div>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.<br>

</div><div><br></div><div><div><div><i>[1]Those tags file basically contain references to functions/types definition in source code and allow "jump to definition" like functionality in text editors.</i></div></div>

<div><br></div><div><div>source: <a href="http://github.com/aloiscochard/codex" target="_blank">http://github.com/aloiscochard/codex</a><br></div><div>hackage: <a href="http://hackage.haskell.org/package/codex" target="_blank">http://hackage.haskell.org/package/codex</a></div>
<span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><b>Alois Cochard</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div>
</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><b>Alois Cochard</b></div><div><a href="http://aloiscochard.blogspot.com" target="_blank">http://aloiscochard.blogspot.com</a></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div>
<div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div>
</div>