On Fri, Mar 2, 2012 at 12:07 AM, xgsa
<xgsa@xxxxxxxxx>
wrote:
Hi,
Can somebody explain why the "C/C++ --> Indexer -->
Index unused headers" preference is off by default?
Indexing of unused headers may result in some files being
indexed out of context, which is probably not an issue in 8.1
since index now supports multiple variants of the same header
file.
It causes inconvenience when I am adding
a new header file (which isn't included anywhere) and trying
to use "Source --> Add include" feature. Moreover, the
context assistant doesn't work properly in this case too. It
isn't a very often problem, however it is unclear for end-user
why sometimes a newly added classes and functions are not
visible. The "C/C++ --> Indexer --> Index source and
header files opened in editor" preference helps to resolve the
described inconvenience too. Why is it turned by default too?
Mostly for historical reasons. I vote for turning it on by
default. Does anybody object?
Thanks,
Anton
-sergey
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev