void (@NotNull AnActionEvent e) { final CodeStyleSettings rootSettings = CodeStyle.getSettings(myProject); EditorConfigSettings settings = rootSettings.getCustomSettings(EditorConfigSettings.class); settings.ENABLED = true; CodeStyleSettingsManager.getInstance(myProject).notifyCodeStyleSettingsChanged(); myNotification.expire(); }