kirill_igum
kirill_igum

Reputation: 3983

Deterministic navigation of c++ class tags in VIM. ctags doesn't work well

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?

Upvotes: 2

Views: 540

Answers (1)

Vincenzo Pii
Vincenzo Pii

Reputation: 19805

I've read the answer you received on superuser and I think that clang_indexer really fits your needs.

The only resources I've found are the project page on github and this blog post.

The plugin looks promising, but as the author says, it is at an early stage and has sharp edges.

If you try it, let us know something about it, I'm curious (I'll eventually try it myself later).

Upvotes: 1

Related Questions