Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently, to navigate a.run() tag, I put the cursor on run and press g], which opens a window with enumerated list of tags for all files that have run(). I have to manually find an option that corresponds to run() in A class. I'd like vim to find that association for me.

It seems that clang has this type of capabilities. it works pretty well with auto-completion (clang_complete).

Is there a plug-in that has this functionality? or how do people go around it?

share|improve this question
    
SO would have been a better choice as this question is oriented toward the customization of a development environment, and more importantly, clang users are over there -> they may know how the information you (we actually) are looking for can be obtained. –  Luc Hermitte Mar 30 '12 at 0:28
    
@LucHermitte do you know if i should re-post there or is there a way to transfer the question? –  kirill_igum Mar 30 '12 at 21:11
    
I've seen a lot of vim questions transferred from SO to here, but never the other way around. Ideally, moving it would be the best thing to do. But it's up to "moderators" to estimate here is not the correct place. This is unfortunately a recurring subject. –  Luc Hermitte Mar 31 '12 at 1:14
add comment

1 Answer

IIRC, the tool clang_complete uses is only able to return a list of matching functions for completion. Nothing more.

However, I've seen another plugin for vim: clang_indexer that may help. I haven't spend much time investigating what it can do.

HTH.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.