Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to search


Selection Search currently does not work for macro definitions/usage.

JohnC
www.eclipse.org/cdt


cdt-dev-admin@xxxxxxxxxxx wrote on 11/08/2004 04:00:38 AM:

> Hello, all.
>    I run Eclipse 3.0.1 and CDT 2.0.2 on RH9/GTK.
>    I have an ordinary C-project (Linux driver) with 3 files as a
> managed build.
> All indexing options are ON.
>
>    File myinclude.h contains:
> #define RD_DE_REG      10
>    File myc.c contains somewhere in the code:
> f = open(Dev, RD_DE_REG);
>
>    If I put a cursor on RD_DE_REG and press F3 (open declaration), I
> see search
> panel for a while and then the text "the operation is unavailable for the
> current selection" in the status bar appears in red.
>    The same result is for Gtrl-G.
>    If I do Ctrl-H and ask to search for RD_DE_REG in the workspace for all
> occurrences in C/C++ tab, I receive only one reference to the myinclude.h
> file.
>    The behavior is the same with function declarations/usage.
>
>    The thing seem to be very basic, therefore I am sure I missed
> something very
> basic too.
>
>    I shall be very thankful for any help...
>    
> --
> Leon Pollak
> leonp at plris dot com
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top