Navigation not working [message #147315] |
Thu, 23 June 2005 12:29  |
Eclipse User |
|
|
|
Originally posted by: m.fortner.sbcglobal.net
When I use Eclipse on Java projects, I can select a method, Ctrl-Click
on it and it will take me to the definition of that method. When I try
that with CDT, I get "The operation is unavailable on the current
selection (no name selected)".
I've tried the F2/F3 keys and they don't seem to work either. I've
tried this on numerous different installs (both clean installs, and
updating on top of previous installs) and nothing seems to work.
I have the indexer set to "Full C/C++ indexer".
When I try selecting a method and finding "All References" to it, that
gives me the same error.
Is there some configuration setting that I need to get this working?
Regards,
Mark Fortner
|
|
|
|
|
|
|
Re: Navigation not working [message #147772 is a reply to message #147756] |
Wed, 29 June 2005 13:08  |
Eclipse User |
|
|
|
Originally posted by: devin_steffler.ca.ibm.com
It will be in the RC1 build which hopefully will be built tomorrow.
The patch was applied on June 28th so any build after the June 27th build
(CDT 3.0 I200506270955) will have the patch as well.
If you think that navigation still isn't working the way it should be then
bugs should be raised that can reproduce what you are seeing so that
navigation can be improved further.
Devin
"Mark Fortner" <phidias51@yahoo.com> wrote in message
news:d9uhns$thc$1@news.eclipse.org...
> Devin,
> Does that mean the patch will show up in this week's I-build? The bug
> made reference to RC1 but I'm not sure when that release is scheduled to
> happen.
>
> Mark
>
>
> Devin Steffler wrote:
> > With the version of CDT that you are using the navigation features
required
> > a complete AST that would be used to drive the features. So the common
> > problem with F2/F3/Ctrl-Click failing was because the #include paths
weren't
> > setup in the project correctly. Although with the fix for
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=101287 now these features
have
> > some additional functionality even if the AST tree is broken (i.e. there
is
> > no IASTName on the AST corresponding to the source code that was
selected,
> > which was why you saw "no names selected").
> >
> > // example.cpp:
> > int abc;
> > int main(int argc, char **argv) {
> > abc // this is an IASTProblemDeclaration but F2/F3 will find abc
above
> > // with this patch through the index
> > }
> >
> > Hope this helps,
> > Devin
> >
> > "Mark Fortner" <m.fortner@sbcglobal.net> wrote in message
> > news:d9h7bk$nnv$1@news.eclipse.org...
> >
> >>Patrick Godeau wrote:
> >>
> >>>Mark Fortner a
|
|
|
Powered by
FUDForum. Page generated in 0.02068 seconds