For C++ and other OO languages, we should index both
the full scoped name of the function (ie
Class::Function()) as well as just Function().
This looks easy(ish) to do - ctags already spits out
the class of a method in the extended information, and
it would be easy to insert another entry for the full
name. References would be harder - it's much more
difficult if not impossible to determine what function
a callsite will actually resolve to except by doing a
full compile. So we might have to settle for indexing
the declarations of the fully scoped names but not the
references, or strip out scope when running ident.
Log in to post a comment.