How to exclude multiple directories with Exuberant ctags?

前端 未结 4 1005
北荒
北荒 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条回答
  •  旧时难觅i
    2020-12-12 19:37

    You can encapsulate a comma separated list with curly braces to handle multiples with one --exclude option:

    ctags -R --exclude={folder1,folder2,folder3}
    

    This appears to only work for folders in the root of where you're issuing the command. Excluding nested folders requires a separate --exclude option.

提交回复
热议问题