exuberant-ctags

Excluding directories in Exuberant CTags

二次信任 提交于 2019-11-30 13:44:04
问题 I'm working with a very large code base and I find it useful to be selective about which directories are included for use with Exuberant Ctags. The --exclude option works well to eliminate individual file and directory names (with globing wildcards), but I can't figure out how to get it to exclude path patterns containing more than one directory. For example, I may want to exclude a directory tests , but only when processing thirdparty\tests (under Windows). The problem is if I just use -

Excluding directories in Exuberant CTags

流过昼夜 提交于 2019-11-30 08:20:32
I'm working with a very large code base and I find it useful to be selective about which directories are included for use with Exuberant Ctags. The --exclude option works well to eliminate individual file and directory names (with globing wildcards), but I can't figure out how to get it to exclude path patterns containing more than one directory. For example, I may want to exclude a directory tests , but only when processing thirdparty\tests (under Windows). The problem is if I just use --exclude=tests I exclude too many directories, including a test directory in the code I'm actively working

ctag database for Go

不羁的心 提交于 2019-11-29 21:36:12
How to generate tags file for Go source In mac, I installed exuberant ctags , and tried the below command in source directory ctags -f gosource.tags -R `pwd` But, it doesn't consider *.go files. Do I have to use -h option? But, isn't it only for header files, as per the manual? Please give me the correct command so that I can use the tags file with vim. I also prefer absolute path so that I can keep the file anywhere Thanks. Edit: I assumed current ctags support Go, seeing http://groups.google.com/group/golang-nuts/browse_thread/thread/3a4848db231b02c9 . but, http://ctags.sourceforge.net

How to exclude multiple directories with Exuberant ctags?

倾然丶 夕夏残阳落幕 提交于 2019-11-29 20:35:46
I have looked and tried to use exuberant ctags with no luck with what I want to do. I am on a mac trying to work in a project where I want to exclude such directories as .git, node_modules, test, etc. When I try something like ctags -R --exclude=[.git, node_modules, test] I get nothing in return. I really only need to have it run in my core directory. Any ideas on how to accomplish this? The --exclude option does not expect a list of files. According to ctags 's man page, "This option may be specified as many times as desired." So, it's like this: ctags -R --exclude=.git --exclude=node_modules

ctag database for Go

我只是一个虾纸丫 提交于 2019-11-28 17:51:41
问题 How to generate tags file for Go source In mac, I installed exuberant ctags , and tried the below command in source directory ctags -f gosource.tags -R `pwd` But, it doesn't consider *.go files. Do I have to use -h option? But, isn't it only for header files, as per the manual? Please give me the correct command so that I can use the tags file with vim. I also prefer absolute path so that I can keep the file anywhere Thanks. Edit: I assumed current ctags support Go, seeing http://groups

How to exclude multiple directories with Exuberant ctags?

倾然丶 夕夏残阳落幕 提交于 2019-11-28 16:38:51
问题 I have looked and tried to use exuberant ctags with no luck with what I want to do. I am on a mac trying to work in a project where I want to exclude such directories as .git, node_modules, test, etc. When I try something like ctags -R --exclude=[.git, node_modules, test] I get nothing in return. I really only need to have it run in my core directory. Any ideas on how to accomplish this? 回答1: The --exclude option does not expect a list of files. According to ctags 's man page, "This option