Created
April 5, 2019 05:22
-
-
Save abbood/7b5ef4229b955ba73afe2b7047ab23d0 to your computer and use it in GitHub Desktop.
ctags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--recurse=yes | |
--exclude=.git | |
--exclude=vendor/* | |
--exclude=node_modules/* | |
--exclude=db/* | |
--exclude=log/* | |
--exclude="*/_*cache/*" | |
--exclude="*/_*logs{0,1}/*" | |
--exclude="*/_*data/*" | |
--fields=+laimS | |
--languages=php | |
--langmap=php:.engine.inc.module.theme.install.php | |
--totals=yes | |
--tag-relative=yes | |
--PHP-kinds=+cfit-va | |
--tag-relative=yes | |
--regex-PHP=/abstract class ([^ ]*)/\1/c/ | |
--regex-PHP=/interface ([^ ]*)/\1/c/ | |
--regex-PHP=/trait ([^ ]*)/\1/c/ | |
--regex-PHP=/(public |static |abstract |protected |private )+ function +([^ \(]*)/\2/f/ | |
--regex-php=/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i]) | |
--exclude=*.min.js | |
--exclude=vendors | |
--langdef=less | |
--langmap=less:.less | |
--regex-less=/^[ t]*.([A-Za-z0-9_-]+)/1/c,class,classes/ | |
--regex-less=/^[ t]*#([A-Za-z0-9_-]+)/1/i,id,ids/ | |
--regex-less=/^[ t]*(([A-Za-z0-9_-]+[ tn,]+)+){/1/t,tag,tags/ | |
--regex-less=/^[ t]*@medias+([A-Za-z0-9_-]+)/1/m,media,medias/ | |
--langdef=js | |
--langmap=js:.js | |
--regex-js=/([A-Za-z0-9._$]+)[ t]*[:=][ t]*{/1/,object/ | |
--regex-js=/([A-Za-z0-9._$()]+)[ t]*[:=][ t]*function[ t]*(/1/,function/ | |
--regex-js=/function[ t]+([A-Za-z0-9._$]+)[ t]*(([^)]))/1/,function/ | |
--regex-js=/([A-Za-z0-9._$]+)[ t]*[:=][ t]*[/1/,array/ | |
--regex-js=/([^= ]+)[ t]*=[ t]*[^"]'[^']*/1/,string/ | |
--regex-js=/([^= ]+)[ t]*=[ t]*[^']"[^"]*/1/,string/ | |
--langdef=Swift | |
--langmap=Swift:+.swift | |
--regex-swift=/enum[ \t]+([^\{\}]+).*$/\1/n,enum,enums/ | |
--regex-swift=/typealias[ \t]+([^:=]+).*$/\1/t,typealias,typealiases/ | |
--regex-swift=/protocol[ \t]+([^:\{]+).*$/\1/p,protocol,protocols/ | |
--regex-swift=/struct[ \t]+([^:\{]+).*$/\1/s,struct,structs/ | |
--regex-swift=/class[ \t]+([^:\{]+).*$/\1/c,class,classes/ | |
--regex-swift=/func[ \t]+([^\(\)]+)\([^\(\)]*\)/\1/f,function,functions/ | |
--regex-swift=/(var|let)[ \t]+([^:=]+).*$/\2/v,variable,variables/ | |
--regex-swift=/^[ \t]*extension[ \t]+([^:\{]+).*$/\1/e,extension,extensions/ | |
--langdef=typescript | |
--langmap=typescript:.ts | |
--regex-typescript=/^[ \t]*(export[ \t]+([a-z]+[ \t]+)?)?class[ \t]+([a-zA-Z0-9_$]+)/\3/c,classes/ | |
--regex-typescript=/^[ \t]*(declare[ \t]+)?namespace[ \t]+([a-zA-Z0-9_$]+)/\2/c,modules/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?module[ \t]+([a-zA-Z0-9_$]+)/\2/n,modules/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?(default[ \t]+)?(async[ \t]+)?function(\*)?[ \t]+([a-zA-Z0-9_$]+)/\5/f,functions/ | |
--regex-typescript=/^[ \t]*export[ \t]+(var|let|const)[ \t]+([a-zA-Z0-9_$]+)/\2/v,variables/ | |
--regex-typescript=/^[ \t]*(var|let|const)[ \t]+([a-zA-Z0-9_$]+)[ \t]*=[ \t]*function[ \t]*[*]?[ \t]*\(\)/\2/v,varlambdas/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?(public|protected|private)[ \t]+(static[ \t]+)?(abstract[ \t]+)?(((get|set)[ \t]+)|(async[ \t]+[*]*[ \t]*))?([a-zA-Z1-9_$]+)/\9/m,members/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?interface[ \t]+([a-zA-Z0-9_$]+)/\2/i,interfaces/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?type[ \t]+([a-zA-Z0-9_$]+)/\2/t,types/ | |
--regex-typescript=/^[ \t]*(export[ \t]+)?enum[ \t]+([a-zA-Z0-9_$]+)/\2/e,enums/ | |
--regex-typescript=/^[ \t]*import[ \t]+([a-zA-Z0-9_$]+)/\1/I,imports/ | |
--langdef=kotlin | |
--langmap=kotlin:.kt | |
--langmap=kotlin:+.kts | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*class[ \t]+([a-zA-Z0-9_]+)/\4/c,classes/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*object[ \t]+([a-zA-Z0-9_]+)/\4/o,objects/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*data class[ \t]+([a-zA-Z0-9_]+)/\6/c,data classes/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy)[ \t]*)*(private[^ ]*|protected)?[ \t]*interface[ \t]+([a-zA-Z0-9_]+)/\4/i,interfaces/ | |
--regex-kotlin=/^[ \t]*type[ \t]+([a-zA-Z0-9_]+)/\1/T,types/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*(\[[a-z]*\])*|protected)[ \t]*)*fun[ \t]+([a-zA-Z0-9_]+)/\4/m,methods/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*|protected)[ \t]*)*val[ \t]+([a-zA-Z0-9_]+)/\3/co,constants/ | |
--regex-kotlin=/^[ \t]*((abstract|final|sealed|implicit|lazy|private[^ ]*|protected)[ \t]*)*var[ \t]+([a-zA-Z0-9_]+)/\3/va,variables/ | |
--regex-kotlin=/^[ \t]*package[ \t]+([a-zA-Z0-9_.]+)/\1/p,packages/ | |
--regex-kotlin=/^[ \t]*import[ \t]+([a-zA-Z0-9_.]+)/\1/p,imports/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment