{"id":16301042,"url":"https://github.com/kberov/ctags","last_synced_at":"2025-03-22T19:34:49.463Z","repository":{"id":7365942,"uuid":"8691554","full_name":"kberov/ctags","owner":"kberov","description":"Extended Rules to support Modern Perl in Exuberant Ctags","archived":false,"fork":false,"pushed_at":"2019-01-15T09:55:37.000Z","size":315,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-01T18:11:21.509Z","etag":null,"topics":["atom","ctags-management","extended-rules","exuberant-ctags","jedit","perl","regular-expression","sublime-text-3","symbols","tagbar","vim"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/kberov.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}},"created_at":"2013-03-10T21:06:12.000Z","updated_at":"2024-10-16T00:57:58.000Z","dependencies_parsed_at":"2022-08-20T12:10:22.598Z","dependency_job_id":null,"html_url":"https://github.com/kberov/ctags","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kberov%2Fctags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kberov%2Fctags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kberov%2Fctags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kberov%2Fctags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kberov","download_url":"https://codeload.github.com/kberov/ctags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236079,"owners_count":20420759,"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":["atom","ctags-management","extended-rules","exuberant-ctags","jedit","perl","regular-expression","sublime-text-3","symbols","tagbar","vim"],"created_at":"2024-10-10T20:53:29.331Z","updated_at":"2025-03-22T19:34:49.165Z","avatar_url":"https://github.com/kberov.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Extended Rules to support Modern Perl in Exuberant Ctags\n=====\nThis is my Exuberant Ctags (~/.ctags) file.\nI use it lately with Vim with the tagbar plugin.\nIt can be used with many Text editors\nlike Vim, Emacs, jEdit, Sublime Text, Atom...\n\nFor now it only contains some additional regular expressions\nto support more Perl symbols. Feel free to contribute by adding\nregular expressions or improving the existing ones! Pull requests are wellcome.\n\nUsage\n===\nFor generating tags file with ctags, just put the file in your $HOME folder.\n\nTo add the content of this file to your existing ~/.ctags file:\n```bash\ncurl https://raw.githubusercontent.com/kberov/ctags/master/.ctags \u003e\u003e ~/.ctags\n```\nIf you are using Atom, you don't need this file, because its content is already part\nof the [symbols-view](https://atom.io/packages/symbols-view) core package.\n\nHow to add support for new symbols?\n===\n\nhttp://ctags.sourceforge.net/\n\nhttp://stackoverflow.com/questions/979359/vim-and-custom-tagging\n\nhttps://ericjmritz.wordpress.com/2013/03/14/writing-custom-rules-for-exuberant-ctags/\n\nMake it work with tagbar vim plugin\n====\n\nAdd the following to your .vimrc.\nThe [tagbar plugin](https://github.com/majutsushi/tagbar) has to be used ofcourse.\n\n```vim\nlet g:tagbar_type_perl = {\n    \\ 'ctagstype' : 'perl',\n    \\ 'kinds'     : [\n        \\ 'p:package:0:0',\n        \\ 'w:roles:0:0',\n        \\ 'e:extends:0:0',\n        \\ 'u:uses:0:0',\n        \\ 'r:requires:0:0',\n        \\ 'o:ours:0:0',\n        \\ 'a:properties:0:0',\n        \\ 'b:aliases:0:0',\n        \\ 'h:helpers:0:0',\n        \\ 's:subroutines:0:0',\n        \\ 'd:POD:1:0'\n    \\ ]\n\\ }\n\n```\n\nAnother option is to use a specific script with tagbar. Put\n`perl_ctags_for_tagbar` from this repo into `~/bin/` and make sure it is\nexecutable.\n\n```vim\n\" Settings to support extended patterns for perl in ctags in tagbar\nlet g:tagbar_type_perl = {\n    \\ 'ctagstype' : 'perl',\n    \\ 'kinds'     : [\n        \\ 'p:package:0:0',\n        \\ 'w:roles:0:0',\n        \\ 'e:extends:0:0',\n        \\ 'u:uses:0:0',\n        \\ 'r:requires:0:0',\n        \\ 'o:ours:0:0',\n        \\ 'a:properties:0:0',\n        \\ 'b:aliases:0:0',\n        \\ 'h:helpers:0:0',\n        \\ 's:subroutines:0:0',\n        \\ 'm:private_subroutines:0:0',\n        \\ 't:old_private_subroutines:0:0',\n        \\ 'd:POD:1:0'\n    \\ ],\n\t\\ 'ctagsbin'  : 'perl_ctags_for_tagbar'\n\\ }\n\n\n```\nBugs and limitations\n===\n\nPOD after the __END__ marker is not shown, but seems this is caused by ctags and I don't have an idea how to change it.\n\nAuthor\n===\n\nКрасимир Беров (2013--2018)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkberov%2Fctags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkberov%2Fctags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkberov%2Fctags/lists"}