
Hi! I am pleased to announce haskdogs - project-level ctag file generator. haskdogs is a small shellscript-like tool which creates tag file for entire haskell project directory. It takes into account first-level dependencies by recursively scanning imports and adding matching packages to the final tag list. As a result, programmer can use his/her text editor supporting tags (vim, for example) to jump directly to definition of any standard or foreign function he/she uses. Note, that haskdogs calls some Unix shell commands like test or mkdir so this tool will likely fail to work on pure Windows platforms. To use it, do 0) cabal install hasktags haskdogs && mkdir -p ~/.cabal/var/haskdogs 1) cabal unpack TrickyProject-4.2 && cd TrickyProject-4.2 2) haskdogs 3) enjoy the tagfile with references to every function http://hackage.haskell.org/package/haskdogs-0.1 Sergey

Cabal compains about "Unknown build tool hasktags".
It seems not necessary to set "Build-tools: hasktags" in cabal file?
On Wed, Sep 14, 2011 at 4:39 AM, Sergey Mironov
Hi! I am pleased to announce haskdogs - project-level ctag file generator.
haskdogs is a small shellscript-like tool which creates tag file for entire haskell project directory. It takes into account first-level dependencies by recursively scanning imports and adding matching packages to the final tag list. As a result, programmer can use his/her text editor supporting tags (vim, for example) to jump directly to definition of any standard or foreign function he/she uses. Note, that haskdogs calls some Unix shell commands like test or mkdir so this tool will likely fail to work on pure Windows platforms.
To use it, do
0) cabal install hasktags haskdogs && mkdir -p ~/.cabal/var/haskdogs 1) cabal unpack TrickyProject-4.2 && cd TrickyProject-4.2 2) haskdogs 3) enjoy the tagfile with references to every function
http://hackage.haskell.org/package/haskdogs-0.1
Sergey
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 14 September 2011 11:24, yi huang
Cabal compains about "Unknown build tool hasktags". It seems not necessary to set "Build-tools: hasktags" in cabal file?
cabal-install isn't capable of automatically building and installing build-tools for you. So to install haskdogs, you need to do "cabal install hasktags && cabal install haskdogs". -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

Do I need any special .el file to use these?
Or commandline arguments to use etags format?
Emacs tells me 'visit-tags-table-buffer: File
/home/mathijs/packages/snap/tags is not a valid tags table'
On Tue, Sep 13, 2011 at 10:39 PM, Sergey Mironov
Hi! I am pleased to announce haskdogs - project-level ctag file generator.
haskdogs is a small shellscript-like tool which creates tag file for entire haskell project directory. It takes into account first-level dependencies by recursively scanning imports and adding matching packages to the final tag list. As a result, programmer can use his/her text editor supporting tags (vim, for example) to jump directly to definition of any standard or foreign function he/she uses. Note, that haskdogs calls some Unix shell commands like test or mkdir so this tool will likely fail to work on pure Windows platforms.
To use it, do
0) cabal install hasktags haskdogs && mkdir -p ~/.cabal/var/haskdogs 1) cabal unpack TrickyProject-4.2 && cd TrickyProject-4.2 2) haskdogs 3) enjoy the tagfile with references to every function
http://hackage.haskell.org/package/haskdogs-0.1
Sergey
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

2011/9/16 Mathijs Kwik
Do I need any special .el file to use these? Or commandline arguments to use etags format?
Emacs tells me 'visit-tags-table-buffer: File /home/mathijs/packages/snap/tags is not a valid tags table'
Please try haskdogs-0.3. haskdogs -e should generate TAGS file. I didn't check, but probably it is what emacs supports. Sergey

perfect! works like a charm.
Thanks for the quick response!
Have a nice weekend,
Mathijs
On Sat, Sep 17, 2011 at 3:58 PM, Sergey Mironov
2011/9/16 Mathijs Kwik
: Do I need any special .el file to use these? Or commandline arguments to use etags format?
Emacs tells me 'visit-tags-table-buffer: File /home/mathijs/packages/snap/tags is not a valid tags table'
Please try haskdogs-0.3. haskdogs -e should generate TAGS file. I didn't check, but probably it is what emacs supports.
Sergey
participants (4)
-
Ivan Lazar Miljenovic
-
Mathijs Kwik
-
Sergey Mironov
-
yi huang