Tuesday, October 9, 2012

Re: context/class sensitive tag search

On Tuesday, October 9, 2012 5:28:04 AM UTC-5, Thomas Wienecke wrote:
> On Wednesday, October 3, 2007 5:21:49 PM UTC+2, rob wrote:
> > I was wondering if a class/context sensitive tag search is possible?
> >
> > For example, in the function below,
> >
> > void someFunc()
> > {
> > X ox;
> > Y oy;
> >
> > ox.setValue(10);
> > oy.setValue(10);
> > ox.value=3;
> > oy.value=4;
> > }
> >
> > a :tselect or a :tjump for member function "setValue" or for data
> > member "value", would take me directly to X's or Y's member definition
> > depending on the current cursor line/position, rather than having to
> > select manually.
> >
> > I've been using the omnicppcomplete plugin for a while (it rocks!),
> > and it has this class/context/namespace awareness for completion.
> > Would be very useful if there is something similar for tag searching/
> > code browsing.
> >
> > Thanks.
>
> Are there any updates on this? Is it now somehow possible to jump context sensitve using tags?
>
> Best regards,
> Thomas

Not that I know of, with a normal tag search, and probably not even with cscope. There may be plugins.

For me, Eclipse knows how to do context-aware search, and Vim can use this via eclim: http://eclim.org/

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: