I've been having some troubles with setting up ctags and vim with a large project I'm new at. The tag files seem to be generating properly (specific options are:
--sort=foldcase --recurse --extra=+q --langmap=C++:.C.h.c.cpp.hpp --languages=C++ --c++-kinds=+p --fields=+iaS) and are then loaded into vim - I can see all the tag files with
:echo tagfiles(). The problem starts when I try to jump to tags - for some symbols, although they clearly exist within at least one of the tag files, I get the error:
E426: tag not found: specificTagName
The symbol is 100% in one of the tag files (checked with grep and manually - multiple entries for the tag exist, plain name and namespace qualified), the tag files have also been loaded (
:echo tagfiles() has the same output as
:echo &tags). I'm not sure where to start fixing this as the majority of tags for this project work just fine so this is quite perplexing. Is there a way to look into what goes on after I press '
g, ^-]', or
':tag /specificTagName', i.e. debug the search for the tag?
Best regards, drinker