|Re: [cdt-dev] The defaults of "Index unused headers" and "Index source and header files opened in editor" preferences|
It seems nobody objected to enable the "Index unused headers" preference by default (as I understood there were only objections against "Index source and header files opened in editor"). However I didn't see it enabled on master. Did I missed something? I could provide a patch if necessary.
-------- Original message --------
On Fri, Mar 2, 2012 at 12:07 AM, xgsa <xgsa@xxxxxxxxx> wrote:
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?Â
cdt-dev mailing list
_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev