intellij keeps decompiling 3rd party lib instead of showing javadoc
已回答
intellij keeps decompiling 3rd party lib that I added to my project in spite of having followed the instructions on how to add a jar containing javadoc.
I have a 'libs directory' with the 3rd party jar and in Project Structure / Libraries the library and associated javadoc jar. Whenever I jump to the declaration of a class of that 3rd party lib I'm taken to the decompiled class instead of its javadoc.
请先登录再写评论。
You need to attach the sources jar/directory to the library, not a javadoc jar. Navigation works to sources. Javadocs are used for quick documentation feature.
awesome. Thank you. Jumping to the source now works.
However: I've added the javadoc jar, but the quick doc feature still displays only what can be retrieved from the .class file instead of the javadoc. How to solve that?
Maybe the dialog is just resized? See this post.
Thank you! Much appreciated.