I've been curious about this for some time, and I've never found a
solution.  I figured I'd bring this up, just in case someone else did
find something useful.

It's easy to make ctags output parent::member tags for c/c++ classes
and structs (--extra=+q), and while that's semi-useful, it doesn't
help in the following (common) case:

  struct foo {
     int bar;
  };
  struct foo f;
  f.x[y]z; /* [] indicates the cursor */

You cannot jump from here to foo::xyz, as f is not known to be of type 'foo'.

Does anyone know of a way to make C-] work in the above case, assuing
the tags file has the proper typename::member information?  If you do,
I will love you forever.

Thanks in advance,
Aaron Griffin

Reply via email to