Am I even using Exuberant ctags?

懵懂的女人 提交于 2019-12-25 03:34:51

问题


After downloading and installing exuberant ctags, I get some issues hinting that the ctags shell command isn't corresponding to my newly installed ctags.

Directory_of_Scripts$ ctags
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
Directory_of_Scripts$ ctags -R
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

Apparently the ctags i'm using does not have the option to collect files recursively (-R option) and it wants a file as an argument; the current exuberant ctags, ctags command can be called without parameters/arguments, it will simply act on the current directory.

I really need help here, I just started trying to associate myself with Vim (its very nice btw); and I'm wanting to extend functionality to make it recognize source code better.


回答1:


Sounds like OSX ctags to me. Shouldn't take you more than a couple minutes to grab exuberant ctags and get it installed. Then it'll work like you expect.




回答2:


just simply copy the ctags in /usr/local/bin to cover the ctags in /usr/bin .. and then you can use it...

This is exactly what I just tried and it succeed



来源:https://stackoverflow.com/questions/8996387/am-i-even-using-exuberant-ctags

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!