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 --exclude=test