mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-decompiler] Don't show decompilation modes for module-info.class files
#IDEA-368182 fixed Merge-request: IJ-MR-155995 Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com> GitOrigin-RevId: 9837383aa3319f2473c1add47cb585acdd8a6a65
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1cf8179ac5
commit
ece8782234
+1
@@ -25,6 +25,7 @@ internal class DecompilerInEditorListener : EditorFactoryListener {
|
||||
val editor = event.editor as? EditorImpl ?: return
|
||||
val file = editor.virtualFile ?: return
|
||||
if (file.fileType != JavaClassFileType.INSTANCE) return
|
||||
if (file.name == "module-info.class") return
|
||||
setupModeToggles(editor)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user