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


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?

- Bogdan



"Alain Magloire" <alain@xxxxxxx>
Sent by: cdt-patch-admin@xxxxxxxxxxx

09/23/2003 03:06 PM

Please respond to
cdt-patch@xxxxxxxxxxx

To
cdt-patch@xxxxxxxxxxx
cc
Subject
Re: [cdt-patch] Indexer patch - Bug 42685, Bug 43474





>
> Take 2 with updates ...
>
>
> This patch:
>
> - removes the old CTags Indexer
> - removes the remaining Indexer block UI item under Project Properties
> - enables the Indexer on all projects
>
> Ran AutomationSuite on both Windows and Linux.
>

Cool.
This is all good, one more thing that was not port over
is the behaviour of "F3".  Having the cursor in the word and hitting
F3 was enough to trigger the navigation.  Also, less of a problem
the context menu was part of the Edit Tab.

I can take a look at this If you want, make a PR and assign them to me .

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


Back to the top