Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] Indexer patch - Bug 42685, Bug 43474



cdt-patch-admin@xxxxxxxxxxx wrote on 09/25/2003 10:21:46 AM:

> >
> > This is a multipart message in MIME format.
> > --=_alternative 006CE8D085256DAA_=
> > Content-Type: text/plain; charset="US-ASCII"
> >
> > Hi Alain -
> >
> > I put in an variant of navigation - made the best with what we have at the
> > moment. The way it currently works is:
> >  
> > 1) the user selects an element and chooses "Open Declarations" from the
> > context menu
> > 2) a search is performed on the index
> > 3) the editor is opened on the search result
> >
> > The only major hitch is that we have no semantic information about the
> > selected element - parser support coming for 2.0
> > or so I've been promised ;) So for now, we do a search on the selected
> > element's name with all types. If only one search
> > result is found then, great, we open up the editor. If more then one
> > instance is found, we pop up a dialog with a list of
> > all the results and let the user select which element they want opened.
> >
> > Is this what you had in mind with F3?
> >
>
> Yes.
>
> That we have now to hilight the function, go to the context menu
> and choose the action "Open Declarations" seems tedious and inconsistent.
> Especially for folks(like myself) using JDT and CDT at the same time.
>
> F3(like CTRL-Space), seems to be the standard for Navigation.  For
> example, start the JavaEditor and hit "F3" on a class/method.
>
> I understand that our navigation capability is incomplete, i.e.
> when namespace C++ scope etc ...
>
> It was this way with the old indexer(CTags), my 0.000002 8-)
>
> Later.
>

OK - raise a bug on me and I'll put in "F3"...

> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch

Back to the top