Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] F3 go to declaration

Can someone tell me which cdt source files implement indexer?
in the package org.eclipse.cdt.core?
thanks a lot
flo

From: josieenfrance@xxxxxxxxxxx
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] F3 go to declaration
Date: Wed, 10 Mar 2010 18:17:51 +0800

I've messages like:
Indexed 'test' (1 sources, 49 headers) in 0,95 sec: 9 307 declarations; 7 240 references; 2 unresolved inclusions; 16 syntax errors; 337 unresolved names (2,00 %)

I have my includes, all .h files in a directory, all .c files in another. I did the configurations for my c project including the .h files directory.
It compiles, but go to definition doesn't work.

thanks,
flo 


From: Yevgeny.Shifrin@xxxxxxxxxxx
To: cdt-dev@xxxxxxxxxxx
Date: Tue, 9 Mar 2010 18:33:13 +0200
Subject: RE: [cdt-dev] F3 go to declaration

Hi,

 

This feature works for me as Ed described it. The 2nd "F3" can go from header to cpp file.

Which CDT are you running? Did you index your project? Were there exceptions while indexing? When indexing is finished it gives a summary similar to this:

 

ENTRY org.eclipse.cdt.core 1 0 2009-07-02 01:00:59.880

!MESSAGE Indexed 'project' ('xxx' sources, 'xxx' headers) in 'xxx' sec: 'xxx' declarations; 'xxx' references; 'xxx' unresolved inclusions; 'xxx' syntax errors; 'xxx' unresolved names ('xxx'%)

 

Do you have unresolved inclusions, syntax errors, unresolved names?

 

Thanks,

Yevgeny

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ? ?
Sent: Tuesday, March 09, 2010 5:34 PM
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] F3 go to declaration

 

It does not work for me. The 2nd "F3" does not do anything. May be it opens the same thing (declaration in the .h file).


From: Ed.Swartz@xxxxxxxxx
To: cdt-dev@xxxxxxxxxxx
Date: Tue, 9 Mar 2010 16:19:22 +0100
Subject: RE: [cdt-dev] F3 go to declaration

Hi,

 

There was some UI cleanup in CDT 5, where the command "go to definition" was merged into "go to declaration".  Just hit F3 twice and it should toggle between the declaration and definition, assuming the indexer can find both of them.

 

(In C and C++, a definition is *also* a declaration, if that justifies the behavior at all ;)

 

-- Ed

 


From: [mailto:josieenfrance@xxxxxxxxxxx]
Sent: Tuesday, March 09, 2010 9:07 AM
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] F3 go to declaration

I have seen the message :

On Wed, 21 May 2008 14:01:55 +0400, alex <alexey.krivoborodov@xxxxxxxxx> wrote:

I think open function defintion with F3 is available beginning with CDT 5.0.0 M4.

It does work for me now on CDT 4.0.3 and it worked since Europa was beta. Threadstarter should try to rebuild index, that might help.


I use CDT 6.0.2, but "go to definition" doesn't work for me.

From: josieenfrance@xxxxxxxxxxx
To: cdt-dev@xxxxxxxxxxx
Date: Tue, 9 Mar 2010 22:48:13 +0800
Subject: [cdt-dev] F3 go to declaration

We can't do go to definition more? F3 can only find the declaration in .h? 

Can someone give me a idea to implement "go to definition"?

thanks,

Flo

 


Hotmail : une messagerie fiable avec une protection anti-spam performante Inscrivez-vous


Votre messagerie et bien plus où que vous soyez. Passez à Windows Live Hotmail, c'est gratuit ! Inscrivez-vous

 


Votre messagerie et bien plus où que vous soyez. Passez à Windows Live Hotmail, c'est gratuit ! Inscrivez-vous



Hotmail : une messagerie performante et gratuite avec une sécurité signée Microsoft Profitez-en


Hotmail : un service de messagerie gratuit, fiable et complet Profitez-en

Back to the top