summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgsa2012-05-01 17:47:39 (EDT)
committer Sergey Prigogin2012-05-01 17:56:04 (EDT)
commitaae4b1de8eb0544940484487772a85ae4b34c3c9 (patch)
tree9b14a3bfda75f791a5b2744d4a3ecbda190a8500
parenta5e61b3f4465a660d3d7fe1b5e36cb6e9a4d67fa (diff)
downloadorg.eclipse.cdt-aae4b1de8eb0544940484487772a85ae4b34c3c9.zip
org.eclipse.cdt-aae4b1de8eb0544940484487772a85ae4b34c3c9.tar.gz
org.eclipse.cdt-aae4b1de8eb0544940484487772a85ae4b34c3c9.tar.bz2
Bug 377992 - Enable the "Index unused headers" preference by default
Change-Id: Ie482a5f63b82f572cabc55d3a08c808e5c3d3825 Reviewed-on: https://git.eclipse.org/r/5756 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java
index ecfd7b7..7af2137 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/indexer/IndexerPreferences.java
@@ -8,6 +8,7 @@
* Contributors:
* Markus Schorn - initial API and implementation
* Sergey Prigogin (Google)
+ * Anton Gorenkov - Enable the "Index unused headers" preference by default (Bug 377992)
*******************************************************************************/
package org.eclipse.cdt.internal.core.pdom.indexer;
@@ -317,7 +318,7 @@ public class IndexerPreferences {
Preferences prefs= defaultPreferences.node(INDEXER_NODE);
prefs.put(KEY_INDEXER_ID, IPDOMManager.ID_FAST_INDEXER);
prefs.putBoolean(KEY_INDEX_ALL_FILES, true);
- prefs.putBoolean(KEY_INDEX_UNUSED_HEADERS_WITH_DEFAULT_LANG, false);
+ prefs.putBoolean(KEY_INDEX_UNUSED_HEADERS_WITH_DEFAULT_LANG, true);
prefs.putBoolean(KEY_INDEX_UNUSED_HEADERS_WITH_ALTERNATE_LANG, false);
prefs.putBoolean(KEY_INDEX_ON_OPEN, false);
prefs.putBoolean(KEY_INCLUDE_HEURISTICS, true);