AnAction (@NotNull Project project) { return DumbAwareAction.create( ApplicationBundle.message("code.style.indent.detector.disable"), e -> { CodeStyle.getSettings(project).AUTODETECT_INDENTS = false; myDiscardedOptions.clear(); notifyIndentOptionsChanged(project); showDisabledDetectionNotification(project); }); }