void () { CodeStyleSettings oldProjectSettings = PER_PROJECT_SETTINGS; if (oldProjectSettings != null) oldProjectSettings.resetDeprecatedFields(); setMainProjectCodeStyle(oldProjectSettings); PER_PROJECT_SETTINGS = null; }