Bug 1470494 - Configure indexer in generated Eclipse CDT project to automatically update the index. r=kats
authorBotond Ballo <botond@mozilla.com>
Fri, 22 Jun 2018 13:07:41 -0400
changeset 809852 009ea74a5c3eda210220614f59359e5feef65c46
parent 809824 c2c89b7bb8b542269ae999342835584df8a186cc
child 809853 38d06add95db681806db375045f17dd73e37c63c
push id113833
push userbmo:ato@sny.no
push dateSat, 23 Jun 2018 12:17:51 +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