mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed WI-3752: PHP Code style settings are not kept between launches
This commit is contained in:
+2
-1
@@ -109,7 +109,8 @@ public class CommonCodeStyleSettingsManager implements JDOMExternalizable {
|
||||
if (target == null) {
|
||||
target = new Language(languageId) {};
|
||||
}
|
||||
final CommonCodeStyleSettings settings = new CommonCodeStyleSettings(target);
|
||||
final CommonCodeStyleSettings defaultSettings = LanguageCodeStyleSettingsProvider.getDefaultCommonSettings(target);
|
||||
final CommonCodeStyleSettings settings = defaultSettings != null ? defaultSettings : new CommonCodeStyleSettings(target);
|
||||
settings.readExternal(commonSettingsElement);
|
||||
registerCommonSettings(target, settings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user