How to exclude multiple directories with Exuberant ctags?

前端 未结 4 1000
北荒
北荒 2020-12-12 19:20

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 .gi

4条回答
  •  自闭症患者
    2020-12-12 19:51

    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

提交回复
热议问题