Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » [SOLVED] Indexer not working properly(Even after full parse)
[SOLVED] Indexer not working properly [message #512370] Thu, 04 February 2010 14:17 Go to next message
Eclipse UserFriend
Greetings Eclipse CDT users, I run Arch Linux 64 bit and have installed:
Eclipse 3.5.1 with Eclipse CDT
Sun (or maybe I should call it Oracle now) JVM 1.6.0_18-b07
I have a few projects on the go and I've set the indexer to do a full parse of the source. Include directories seem alright to me. Yet it does not pick up all symbols and functions and so on, and in some files the code assist just won't work. Is this a known issue or am I doing something wrong? The same settings/projects used to work in Eclipse CDT on Fedora 12 32 bit.
Thanks!

[Updated on: Fri, 05 February 2010 07:01] by Moderator

Re: Indexer not working properly [message #512441 is a reply to message #512370] Fri, 05 February 2010 02:32 Go to previous messageGo to next message
Eclipse UserFriend
You should use the Fast Indexer. It is better then the full indexer (and faster!).
Are you sure that all includes were found? There is the possibility to show unresolved includes (context menu of your project Index=>Search for unresolved includes).
Re: Indexer not working properly [message #512531 is a reply to message #512441] Fri, 05 February 2010 06:51 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Axel for taking the time to help me out. With this info I think I've narrowed down the problem somewhat. There are no unexpected unresolved includes which I guess makes this an error with how Eclipse displays the symbols. Fast vs Full Parse makes no difference in this case, Eclipse seems to pick up all the symbols because CTRL+H and C/C++ Search does find all references/declarations/definitions. In fact going over the source I just realized the files that don't display/code assist properly are files with 4000 or so more lines of code... The smaller files all display it fine and I can use code assist, but the large files, not so much. Thanks again!
[SOLVED] Re: Indexer not working properly [message #512537 is a reply to message #512531] Fri, 05 February 2010 07:01 Go to previous messageGo to next message
Eclipse UserFriend
Okay I solved it after going through all the options. The following needed to be UNCHECKED:
Disable Editor Live Parsing
Under C/C++->Editor->Scalability
Not sure why that is checked by default, it never has been before for me. Maybe it's my distro.
Thanks again
Re: [SOLVED] Re: Indexer not working properly [message #512624 is a reply to message #512537] Fri, 05 February 2010 11:36 Go to previous messageGo to next message
Eclipse UserFriend
Alex Trofast wrote on Fri, 05 February 2010 07:01
Okay I solved it after going through all the options. The following needed to be UNCHECKED:
Disable Editor Live Parsing
Under C/C++->Editor->Scalability
Not sure why that is checked by default, it never has been before for me. Maybe it's my distro.
Thanks again

That option is checked by default. If you have a slow computer and not enough RAM very large files can bring Eclipse down. Usually there is a warning when the scalability is enabled for a file.
Re: [SOLVED] Re: Indexer not working properly [message #512628 is a reply to message #512624] Fri, 05 February 2010 11:47 Go to previous message
Eclipse UserFriend
Yeah I must've just disabled the warning and not really read it, stupid me. Thanks for working through this with me Axel, very much appreciated.
Previous Topic:[SOLVED] 64-bit assembly language?
Next Topic:Multiple Build Configuration
Goto Forum:
  


Current Time: Fri Nov 07 02:26:26 EST 2025

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

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

Back to the top