mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Turned off background type cache for now by setting the CCorePlugin default to false
This commit is contained in:
parent
b4fd69965f
commit
abaf42acdf
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-15 Bogdan Gheorghe
|
||||
Disable background type cache on startup for now
|
||||
|
||||
* src/org/eclipse/cdt/internal/ui/preferences/WorkInProgressPreferencePage.java
|
||||
|
||||
2004-06-14 Bogdan Gheorghe
|
||||
Fix for Bug 66748: Fixed in head - we now add a _cdtsrchlink_ label to all
|
||||
imports brought in by search and ensure that we don't delete any local files.
|
||||
|
|
|
@ -181,6 +181,12 @@ public class WorkInProgressPreferencePage extends PreferencePage
|
|||
*/
|
||||
public static void initDefaults(IPreferenceStore store) {
|
||||
store.setDefault(AllTypesCache.ENABLE_BACKGROUND_TYPE_CACHE, false);
|
||||
Preferences prefs = CCorePlugin.getDefault().getPluginPreferences();
|
||||
|
||||
if (prefs != null){
|
||||
prefs.setValue(AllTypesCache.ENABLE_BACKGROUND_TYPE_CACHE, store.getString(AllTypesCache.ENABLE_BACKGROUND_TYPE_CACHE));
|
||||
CCorePlugin.getDefault().savePluginPreferences();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue