Exuberant Ctags on Mac

泄露秘密 提交于 2019-12-03 02:02:50

Install MacPorts, then do:

port install ctags
daniel

Install Homebrew, then do:

brew install ctags

For a more friendly way to do this instead of using mac-ports or homebrew and running the risk of causing errors download ctags from here and compile with xcode (starting with version 4.3 command line tools are not installed by default but rather through Preferences -> Downloads) then simply move the compiled ctags to /usr/bin/ctags-exuberant to preserve the original.

Commands Used:

Change Directory to Downloads and ctags directory:

$cd
$cd Down<tab>ctags<tab>

Configure:

$./configure

Make:

$make

Move to /usr/bin:

$sudo mv ctags /usr/bin/ctags-exuberant



NOTE: <tab> is equal to pressing the tab key.
NOTE: XCode can now be downloaded from the Apple App Store!

Very useful for getting Tagbar for vim to work! Tagbar is available here.

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