Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] indexer boost library

I have a really large project so I've been trying to cut down the work the CDT indexer has to do on it by selectively reducing my source path to the minimum I can get away with.  While the full indexer is pretty slow, it seems to work much better on my project: I think maybe because we have a mix of C and C++ code and perhaps the fast indexer is getting confused on the preprocessor directives, but I'm only guessing on this.  For instance, some of our headers contain:
#ifdef __cplusplus: I'm thinking the fast indexer can't handle the fact that these change depending on whether the current compilation unit is a .c or a .cpp file.

Yes I've noticed it doesn't do very well completing iterators either, though the iterators I've tried so far mostly had boost shared_ptrs in them :-)

I'm pretty new to using the CDT, overall it's very impressive, I'm looking forward to updates in the future that iron out some of these issues.

Cheers

----- Original Message ----
From: Doug Schaefer <DSchaefer@xxxxxxx>
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Sent: Thursday, 2 August, 2007 4:04:11 PM
Subject: RE: [cdt-dev] indexer boost library

I think we still have issues with templates in 4.0. I'm sure that's what
you're running into. I've always wanted this to work with iterators too. I'm
not sure if there's a bug open on it or not.

BTW, how's the performance of the full indexer in this? Unfortunately, the
template issue is with what's stored in the index and both the full and fast
indexer share that. The full indexer just gives a more accurate parse but
with a huge performance penalty when adding what it can to the index.

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com


> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> Behalf Of westd
> Sent: Thursday, August 02, 2007 10:55 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] indexer boost library
> 
> 
> Hi there,
> 
> I've tried adding the boost library to my include path (boost-1_33_1)
> using
> CDT4.0.
> 
> While in the outline view I can navigate to the boost header files, code
> completion for my shared_ptr objects does not work.
> 
> I'm currently using the full indexer.
> 
> Does anyone have any experience in using the boost library with the CDT,
> have you had any success getting auto-completion to work?
> 
> Thanks
> --
> View this message in context: http://www.nabble.com/indexer-boost-library-
> tf4206593.html#a11965990
> Sent from the Eclipse CDT - Development mailing list archive at
> Nabble.com.
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev





Back to the top