AnAction (@NotNull Project project, @NotNull @Nls String message) { return DumbAwareAction.create( message, e -> { EditorConfigSettings settings = CodeStyle.getSettings(project).getCustomSettings(EditorConfigSettings.class); settings.ENABLED = false; CodeStyleSettingsManager.getInstance(project).notifyCodeStyleSettingsChanged(); showDisabledDetectionNotification(project); }); }