I generally use hasktags (install via cabal-install), and you can give it a list of directories to index.

I normally do it in the GHC/compiler directory, so it has just the GHC source

Alan

On Mon, 5 Sept 2022 at 20:51, Simon Peyton Jones <simon.peytonjones@gmail.com> wrote:
I love emacs' tags-query-replace function, which allows me to do a search-and-replace across an entire repo.  But to do that I need a TAGS file that, at least, lists all the Hsakell files in GHC. 

What is the approved way to construct a TAGS file for a bunch of Haskell modules?  Is this documented anywhere?

Thanks

Simon
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs