From 270604bd2df734f609d5dc37746df9f8769e8a24 Mon Sep 17 00:00:00 2001 From: Nikita Iarychenko Date: Mon, 21 Sep 2026 18:26:50 +0400 Subject: [PATCH] OPENIDE fix review code analysis --- .../intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java index b2ea42c4dfed..e0d4f47f7f53 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/CodeSmellDetectorImpl.java @@ -1,4 +1,7 @@ // Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// +// Modified by Nikita Iarychenko at 2026 as part of the OpenIDE project(https://openide.ru). +// Any modifications are available on the same license terms as the original source code. package com.intellij.openapi.vcs.impl; import com.intellij.codeInsight.CodeSmellInfo; @@ -8,6 +11,7 @@ import com.intellij.codeInsight.daemon.impl.HighlightInfoType; import com.intellij.codeInsight.daemon.impl.MainPassesRunner; import com.intellij.codeInsight.daemon.impl.SeverityRegistrar; import com.intellij.codeInspection.InspectionProfile; +import com.intellij.idea.AppMode; import com.intellij.ide.errorTreeView.NewErrorTreeViewPanel; import com.intellij.lang.annotation.HighlightSeverity; import com.intellij.openapi.application.ApplicationManager; @@ -68,7 +72,7 @@ public class CodeSmellDetectorImpl extends CodeSmellDetector { @Override public void showCodeSmellErrors(@NotNull @Unmodifiable List smellList) { - if (isSplitProblemsViewKeyEnabled()) { // rem-dev implementation + if (isSplitProblemsViewKeyEnabled() && !AppMode.isMonolith()) { // rem-dev implementation showCodeSmellErrorsInFrontend(smellList, myProject); return; }