mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
.editorconfig сбрасывается к дефолтным значениям
(cherry picked from commit 3c3e072580)
This commit is contained in:
committed by
Nikita Iarychenko
parent
7db06a28ce
commit
cbca495d38
@@ -3,6 +3,7 @@ package org.editorconfig.configmanagement;
|
||||
|
||||
import com.intellij.application.options.CodeStyle;
|
||||
import com.intellij.editorconfig.common.EditorConfigBundle;
|
||||
import com.intellij.ide.SaveAndSyncHandler;
|
||||
import com.intellij.ide.actions.searcheverywhere.FileSearchEverywhereContributor;
|
||||
import com.intellij.ide.actions.searcheverywhere.SearchEverywhereManager;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
@@ -65,5 +66,6 @@ public final class EditorConfigActionUtil {
|
||||
if (settings.ENABLED == ecEnabled) return;
|
||||
settings.ENABLED = ecEnabled;
|
||||
CodeStyleSettingsManager.getInstance(project).notifyCodeStyleSettingsChanged();
|
||||
SaveAndSyncHandler.getInstance().scheduleSave(new SaveAndSyncHandler.SaveTask(project, true));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user