Bug 1470494 - Configure indexer in generated Eclipse CDT project to automatically update the index. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Fri, 22 Jun 2018 13:07:41 -0400
changeset 809702 1403d8bead2dde220f7e7de61ea3f3a37efb5ad5
parent 808827 71ad61632709f917b441035dd35afdbd120a8855
child 809703 a79648b27f5be65d4cc7639031dda752745dc903
push id113773
push userbballo@mozilla.com
push dateFri, 22 Jun 2018 18:53:04 +0000
reviewerskats
bugs1470494
milestone62.0a1
Bug 1470494 - Configure indexer in generated Eclipse CDT project to automatically update the index. r=kats MozReview-Commit-ID: G0yX1ei7rII
python/mozbuild/mozbuild/backend/cpp_eclipse.py
--- a/python/mozbuild/mozbuild/backend/cpp_eclipse.py
+++ b/python/mozbuild/mozbuild/backend/cpp_eclipse.py
@@ -584,16 +584,17 @@ content-types/org.eclipse.core.runtime.x
 content-types/org.eclipse.wst.jsdt.core.jsSource/file-extensions=jsm
 """
 
 STATIC_UI_PREFS="""eclipse.preferences.version=1
 showIntro=false
 """
 
 STATIC_CDT_CORE_PREFS="""eclipse.preferences.version=1
+indexer.updatePolicy=0
 """
 
 FORMATTER_SETTINGS = """org.eclipse.cdt.core.formatter.alignment_for_arguments_in_method_invocation=16
 org.eclipse.cdt.core.formatter.alignment_for_assignment=16
 org.eclipse.cdt.core.formatter.alignment_for_base_clause_in_type_declaration=80
 org.eclipse.cdt.core.formatter.alignment_for_binary_expression=16
 org.eclipse.cdt.core.formatter.alignment_for_compact_if=16
 org.eclipse.cdt.core.formatter.alignment_for_conditional_expression=34