When I use ctags to generate STL tags and use these tags with Vim, it is not aware of scope. If I use ctrl-], it will go to the first tag that matches, even if that is not true. For example:
std::list<int> mylist;
mylist.push__back(100);
if I type ctrl-] when the cursor is full of push_back (100), it will lead me to implement bitvector push_back instead of a list.
As far as I know, ctags is not aware of scope, but I know that there are some Vim plugins that use ctags, such as OmniCppComplete. Does anyone know any plugins or settings that will fix this?
source
share