{"id":28065835,"url":"https://github.com/agda/hs-tags","last_synced_at":"2025-05-12T14:33:20.850Z","repository":{"id":45080630,"uuid":"347636765","full_name":"agda/hs-tags","owner":"agda","description":"Generate ctags and etags for Haskell files","archived":false,"fork":false,"pushed_at":"2023-03-28T20:40:36.000Z","size":136,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-12T14:33:16.259Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agda.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-14T12:55:36.000Z","updated_at":"2023-03-01T03:50:45.000Z","dependencies_parsed_at":"2022-09-22T16:50:45.779Z","dependency_job_id":null,"html_url":"https://github.com/agda/hs-tags","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fhs-tags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fhs-tags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fhs-tags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agda%2Fhs-tags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agda","download_url":"https://codeload.github.com/agda/hs-tags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253755515,"owners_count":21959025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-12T14:33:20.214Z","updated_at":"2025-05-12T14:33:20.815Z","avatar_url":"https://github.com/agda.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Hackage version](https://img.shields.io/hackage/v/hs-tags.svg?label=Hackage\u0026color=informational)](http://hackage.haskell.org/package/hs-tags)\n[![Hackage CI](https://matrix.hackage.haskell.org/api/v2/packages/hs-tags/badge)](https://matrix.hackage.haskell.org/package/hs-tags)\n[![hs-tags on Stackage Nightly](https://stackage.org/package/hs-tags/badge/nightly)](https://stackage.org/nightly/package/hs-tags)\n[![Stackage LTS version](https://www.stackage.org/package/hs-tags/badge/lts?label=Stackage)](https://www.stackage.org/package/hs-tags)\n[![Cabal build](https://github.com/agda/hs-tags/workflows/Haskell-CI/badge.svg)](https://github.com/agda/hs-tags/actions)\n\nhs-tags - Generate tags for Haskell code\n========================================\n\nGenerate `tags` (ctags) or `TAGS` (etags) file for a bunch of Haskell files.\nThese files are used by editors (e.g. `TAGS` by Emacs) to implement _jump-to-definition_ (e.g. `M-.` in Emacs).\n\nIn contrast to [hasktags](http://hackage.haskell.org/package/hasktags), `hs-tags` uses the GHC Haskell parser to read the Haskell files and find definition sites.\n\nExample use:\n```\nfind src -name \"*.*hs\" | xargs \\\n  hs-tags --cabal Foo.cabal -i dist/build/autogen/cabal_macros.h -e\n```\nCreates Emacs `TAGS` from Haskell files residing in folder `src/` of the project as defined in `Foo.cabal`, using preprocessor definitions from `dist/build/autogen/cabal_macros.h`.\n\nCommand line reference:\n```\nhs-tags\n                --help              Show help.\n  -c[FILE]      --ctags[=FILE]      Generate ctags (default file=tags)\n  -e[FILE]      --etags[=FILE]      Generate etags (default file=TAGS)\n  -i FILE       --include=FILE      File to #include\n  -I DIRECTORY                      Directory in the include path\n                --cabal=CABAL FILE  Cabal configuration to load additional\n                                    language options from\n                                    (library options are used)\n```\n\nSome related projects:\n\n- [hasktags](http://hackage.haskell.org/package/hasktags):\n  popular ctags and etags generator, using its own parser.\n\n- [fast-tags](https://hackage.haskell.org/package/fast-tags):\n  ctags and etags, fast, incremental, using its own parser.\n\n- [ghc-tags-plugin](https://hackage.haskell.org/package/ghc-tags-plugin):\n  ctags and etags emitted during compilation by a ghc-plugin.\n\n- [hothasktags](https://hackage.haskell.org/package/hothasktags)\n  (_unmaintained_?):\n  ctags generator, using the [haskell-src-exts](https://hackage.haskell.org/package/haskell-src-exts) parser.\n\n- [htags](https://hackage.haskell.org/package/htags):\n  ctags for Haskell 98, using the [haskell-src](https://hackage.haskell.org/package/haskell-src) parser.\n\n- [codex](https://hackage.haskell.org/package/codex):\n  ctags and etags for dependencies, using\n  [hasktags](http://hackage.haskell.org/package/hasktags).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Fhs-tags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagda%2Fhs-tags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagda%2Fhs-tags/lists"}