1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Changed the Organize Includes default behhavior to remove unused

comments. Organize Includes is mature enough for that.
This commit is contained in:
Sergey Prigogin 2014-06-04 10:52:49 -07:00
parent 0aa493f3d8
commit c50e715749

View file

@ -180,7 +180,7 @@ public class IncludePreferences implements Comparator<StyledInclude> {
store.setDefault(PreferenceConstants.FORWARD_DECLARE_TEMPLATES, false);
store.setDefault(PreferenceConstants.FORWARD_DECLARE_NAMESPACE_ELEMENTS, true);
store.setDefault(PreferenceConstants.INCLUDES_UNUSED_STATEMENTS_DISPOSITION,
UnusedStatementDisposition.COMMENT_OUT.toString());
UnusedStatementDisposition.REMOVE.toString());
store.setDefault(PreferenceConstants.INCLUDES_HEADER_SUBSTITUTION,
HeaderSubstitutionMap.serializeMaps(GCCHeaderSubstitutionMaps.getDefaultMaps()));