Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Momentics IDE C++ indexer not working properly: (9 Items)
   
Momentics IDE C++ indexer not working properly  
Hi:

I'm running momentics IDE (eclipse) for my source editing. The C++ indexer is turned on to Full indexing but its not 
working properly. Here are the problem highlights:
1. The "Open Definitions" option does not work. 
2. The indexing does not reference any *.hh files, only *.cc files, which makes me believe not every reference is found 
anyway, and in turn is unreliable. 
3. The content assist does not seem to auto complete, for example, it doesn't give me options to complete on members of 
classes at all. 

Not sure what other options I need to turn on. 

I'm using:
QNX® Momentics® Integrated Development Environment
Version: 4.0.1

Thanks in advance. 
Re: Momentics IDE C++ indexer not working properly  
Did you set it up? What types of project you are using?

On 05/05/2011 09:26 AM, Mohamed El Helaly wrote:
> Hi:
> 
> I'm running momentics IDE (eclipse) for my source editing. The C++ indexer is turned on to Full indexing but its not 
working properly. Here are the problem highlights:
> 1. The "Open Definitions" option does not work. 
> 2. The indexing does not reference any *.hh files, only *.cc files, which makes me believe not every reference is 
found anyway, and in turn is unreliable. 
> 3. The content assist does not seem to auto complete, for example, it doesn't give me options to complete on members 
of classes at all. 
> 
> Not sure what other options I need to turn on. 
> 
> I'm using:
> QNX® Momentics® Integrated Development Environment
> Version: 4.0.1
> 
> Thanks in advance. 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85426
Re: Momentics IDE C++ indexer not working properly  
I turned on full C/C++ indexer. 
I'm using a Standard Make C++ Project.
Re: Momentics IDE C++ indexer not working properly  
If you using standard make you have to manually set-up include for the indexer. It cannot figure it out on its own.
In project preferences 
C/C++ General->Path & Symbols

On 05/05/2011 09:38 AM, Mohamed El Helaly wrote:
> I turned on full C/C++ indexer. 
> I'm using a Standard Make C++ Project.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85429
> 
Re: Momentics IDE C++ indexer not working properly  
I did add the symbols but now the refernces don't work completely. I added the whole project in the path. 

Also it wasn't in the general tab, it was just in the project properties. I don't have a general tab. I guess its just 
the version I'm using. 

Re: Momentics IDE C++ indexer not working properly  
I restarted eclipse and it kinda works. Still not finding all refernces in the *.cc files, and none of the *.hh files. 
Re: Momentics IDE C++ indexer not working properly  
You have to add include path. Adding your project in the path is probably useless. Do you know what are include paths?

On 05/05/2011 10:28 AM, Mohamed El Helaly wrote:
> I restarted eclipse and it kinda works. Still not finding all refernces in the *.cc files, and none of the *.hh files.
 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85437
> 
Re: Momentics IDE C++ indexer not working properly  
Yes I know what include paths are.

In our project the includes and source are in the same directory. So I have to add all bthe folders in my project to try
 to get anything useful. 

Some .hh files are showing up now, but its still not giving me results on all queries. 

Re: Momentics IDE C++ indexer not working properly  
All include files are in the same directory? You have to specify each directory same as for compiler

On 05/05/2011 10:47 AM, Mohamed El Helaly wrote:
> Yes I know what include paths are.
> 
> In our project the includes and source are in the same directory. So I have to add all bthe folders in my project to 
try to get anything useful. 
> 
> Some .hh files are showing up now, but its still not giving me results on all queries. 
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post85442
>