mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not show internal modules in documentation popup, see RIDER-39200 for more details
GitOrigin-RevId: a638379b175f9009cd6c0cc696183997baaedac6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c5ba307af9
commit
cb52012217
+1
-1
@@ -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 "<icon src='" + ModuleType.get(module).getId() + "'> " + module.getName().replace("<", "<");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user