Excluding directories in Exuberant CTags

前端 未结 2 1620
长情又很酷
长情又很酷 2020-12-31 03:54

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<

2条回答
  •  醉酒成梦
    2020-12-31 04:30

    ack -f | ctags -L -
    

    ack will list the source files in a given dir. You can limit the scope to a specific language with ack -f --ruby or ack -f --type=ruby. You can exclude dirs as well with --ignore-dir.

    Use ack --dump to see the built-in file types for ack.

提交回复
热议问题