Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Index ALL code?
Index ALL code? [message #822193] Fri, 16 March 2012 05:25 Go to next message
Eclipse UserFriend
Hi,

I am having some major problems with CDT, that I hope you can help me with.

I am using it for large C projects (that also contains some Java - basically Android projects) and a huge amount of C-preprocessor defines are used for the C-code.

My goal is to have ALL the C-code indexed irrelevant of preprocessor defines. It is not a possibility for me to add all the symbols.

Consider the following example:
#if 1
    func();
#else
    func();
#endif


If I look for all references to func(), using shift+ctrl+g, I want to find BOTH references to func().

Similarly if I do a refactoring of func() I need it to be changed everywhere. It seems like this might work, but in the above example I can not initiate refactoring from the lowest func() entry.

Is there some way to achieve this? Potentially by making the indexer ignore the preprocessing directives completely?

I really hope you can help me - thanks!
Re: Index ALL code? [message #822534 is a reply to message #822193] Fri, 16 March 2012 16:58 Go to previous message
Eclipse UserFriend
I think below bug is related to your issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197989

[Updated on: Fri, 16 March 2012 16:59] by Moderator

Previous Topic:Link to extern libraries under Eclipse/Cygwin
Next Topic:Error launching external scanner info generator (g++ -E -P -v -dD /home/tabor/workspace/.metadata/.p
Goto Forum:
  


Current Time: Wed Jul 23 20:48:04 EDT 2025

Powered by FUDForum. Page generated in 0.03313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top