Create etags & ctags for Haskell projects based on Stack snapshots.
stack install stack-tag
stack-tag && cp stack.tag TAGS
When you change a source file, run:
stack-tag && cp stack.tag TAGS
-
Tag files are based on snapshots. All generated tags will correspond to the exact matching version found in the active stack
resolver
. -
Tag files are cached. Dependencies only need to be downloaded once per snapshot.
-
Transitive dependencies are tagged, including dependencies in
executable
,test-suite
andbenchmark
stanzas.