IDEA jar cannot see the decompiled source code (only the method level /* compiled code*/)


IDEA cannot see the source code of jar decompilation

Recently, I found that I can't see the decompiled source code of the jar on IDEA , and I can only see the level of the method at most .

Those who provide jar source packages can still see the source code after downloading the source package, but those who do not provide jar source packages have nothing to do.

I wondered for a long time, IDEA supports decompiling class files, why can't I see the source code?

The decompilation of IDEA is mainly realized through the Java Bytecode Decompiler plug-in, but after looking at it, it is installed (IDEA has bundled the plug-in). What is even more frustrating is that on another computer, the same IDEA version can see the source code, which is confusing.

Finally, I accidentally discovered:
insert image description here
When is this decompilation plugin again? Could it be that the two decompilation plugins conflicted? After uninstalling the plugin, it worked fine...

When IDEA decompilation is invalid, first check whether the Java Bytecode Decompiler plug-in is installed, and then check whether other decompilation plug-ins have been installed repeatedly.

Guess you like

Origin blog.csdn.net/JokerLJG/article/details/127952890