Adds jscodehints.inferenceTimeout preference

This commit is contained in:
Kevin Dangoor committed 2014-06-19 13:42:30 -04:00
1 parent 9552ae8af7
commit dd7c53ad82
3 files changed
+11 -4

No files matched your search

@@ -57,7 +57,10 @@ define(function (require, exports, module) {
ignoreChange; // can ignore next "change" event if true;
// Define the defaultExclusions which are files that are known to cause Tern to run out of control.
PreferencesManager.definePreference("jscodehints.defaultExclusions", "array", ["ionic*.min.js"]);
PreferencesManager.definePreference("jscodehints.defaultExclusions", "array", []);
// This preference controls when Tern will time out when trying to understand files
PreferencesManager.definePreference("jscodehints.inferenceTimeout", "number", 5000);
/**
* Sets the configuration, generally for testing/debugging use.