Eclipse how to link a jar containing javadocs/source with its binary?

后端 未结 5 1329
南旧
南旧 2020-12-04 08:19

I would like to have the javadoc comments contained in a jar file show in eclipse when I hover over a class.

For example, after downloading JODA-2.0, three jars are

5条回答
  •  青春惊慌失措
    2020-12-04 08:58

    Right-click on the jar (the one with the class files), choose "Properties", the "Javadoc location", and choose the jar file with the javadoc. Do similarly for the source jar, using "Java source attachment".

提交回复
热议问题