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("<", "<"); }