void (@NotNull Runnable runnable) { EditorConfigSettings settings = CodeStyle.getSettings(getProject()).getCustomSettings(EditorConfigSettings.class); settings.ENABLED = false; try { runnable.run(); } finally { settings.ENABLED = true; } }