Alternatives to Ctags/Cscope with Objective-c?

2019-01-30 07:27发布

Are there any alternatives to ctags and cscope with Objective-c support. This does pertain to cocoa development, so inevitably it seems I will be using Xcode (and probably should). I was just wondering what are my Vim options.

Maybe there is some type of plugin system like eclim, but for xcode?

EDIT

So it seems that other than updating ctags to support objective-c, I'm out of luck. Does anyone know if cscope is the same?

9条回答
走好不送
2楼-- · 2019-01-30 07:44

Apropos the other answer: you can install EMACS with MacPorts fairly easily and it will include a version of etags at /opt/local/bin that has Objective-C support compiled in.

% sudo port install emacs
% find . -name ‘*.[hm]’ -print0 | xargs −0 /opt/local/bin/etags

And then inside vim:

:setlocal tags=TAGS

This works well for me with MacVim.

查看更多
干净又极端
3楼-- · 2019-01-30 07:48

You can try Fishman fork of Exuberant Ctags which has Objective C and CSS support.

查看更多
老娘就宠你
4楼-- · 2019-01-30 07:52

You can also try objcscope which is written by me.

objcsope

查看更多
登录 后发表回答