From cb5201221702f76707bb95ff4bc90f42e053863e Mon Sep 17 00:00:00 2001 From: "Evgeniy.Stepanov" Date: Thu, 14 May 2020 22:16:19 +0200 Subject: [PATCH] Do not show internal modules in documentation popup, see RIDER-39200 for more details GitOrigin-RevId: a638379b175f9009cd6c0cc696183997baaedac6 --- .../codeInsight/documentation/DocumentationComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java index 7e03d7ebfe43..963b010ad357 100644 --- a/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java +++ b/platform/lang-impl/src/com/intellij/codeInsight/documentation/DocumentationComponent.java @@ -1082,7 +1082,7 @@ public class DocumentationComponent extends JPanel implements Disposable, DataPr ProjectFileIndex fileIndex = ProjectRootManager.getInstance(element.getProject()).getFileIndex(); Module module = fileIndex.getModuleForFile(vfile); - if (module != null) { + if (module != null && !ModuleType.isInternal(module)) { if (ModuleManager.getInstance(element.getProject()).getModules().length == 1) return null; return " " + module.getName().replace("<", "<"); }