{"id":18597617,"url":"https://github.com/matt-snider/ctags-query","last_synced_at":"2025-05-16T13:33:53.917Z","repository":{"id":201921602,"uuid":"170995347","full_name":"matt-snider/ctags-query","owner":"matt-snider","description":"A tool to query ctags file with simple boolean expressions.","archived":false,"fork":false,"pushed_at":"2020-09-23T18:32:23.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T03:52:30.723Z","etag":null,"topics":["boolean-expression","ctags","parse","query","search"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matt-snider.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-02-16T11:19:08.000Z","updated_at":"2023-01-12T15:15:12.000Z","dependencies_parsed_at":"2024-03-28T17:15:12.585Z","dependency_job_id":null,"html_url":"https://github.com/matt-snider/ctags-query","commit_stats":null,"previous_names":["matt-snider/ctags-query"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-snider%2Fctags-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-snider%2Fctags-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-snider%2Fctags-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-snider%2Fctags-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt-snider","download_url":"https://codeload.github.com/matt-snider/ctags-query/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254538628,"owners_count":22087896,"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":["boolean-expression","ctags","parse","query","search"],"created_at":"2024-11-07T01:28:49.136Z","updated_at":"2025-05-16T13:33:53.881Z","avatar_url":"https://github.com/matt-snider.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ctags-query\n\nA tool to query ctags with simple boolean expressions.\n\nFor example, to find locations tagged with `foo`, `bar`, but _not_ `buzz`:\n\n```sh\n$ ctags-query 'foo\u0026bar\u0026!buzz'\npath/to/fileX:10\npath/to/fileY:50\npath/to/fileZ:165\n```\n\nI'm not sure how useful this is for a regular ctags file, because that wasn't my [motivation](#Motivation), but hopefully it can be useful for other uses as well.\n\n\n## Motivation\n\n[Vimwiki](https://github.com/vimwiki/vimwiki) is a fantastic application for keeping notes. In my notes, I like to leverage tags as much as possible, but until now, have only been able to query a single tag at once with `:VimwikiSearchTags` or `:FzfTags`. Inspired by [orgmode's tag search](https://orgmode.org/manual/Matching-tags-and-properties.html#Match-syntax), I set out to build something similar to help me find stuff in my vimwiki notes.\n\nThis repository is the actual implementation of that functionality, while the vim specific code lives at [vim-tagquery](https://github.com/matt-snider/vim-tagquery).\n\n## Releasing\n\nCurrently I do this sort of manually:\n\n* Update version in Cargo.toml, rebuild, and commit (\"Bump version to x.y.z\")\n* Run script to tag and build binaries: `./prep-release.sh x.y.z`\n* Push: `git push \u0026\u0026 git push --tags`\n* Within GitHub, make a new release and upload the binaries in `release-tmp/`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-snider%2Fctags-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt-snider%2Fctags-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-snider%2Fctags-query/lists"}