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

后端 未结 5 1344
南旧
南旧 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:52

    The easiest way is :

    1. Press control+(The word for which you want to see the Java doc)
    2. A page will appear that has a button for attach source.Click This
    3. Select External location.
    4. Browse The location to Java folder than your jdk .Than select src .zip.
    5. press OK.

    The Problem is Solved.

提交回复
热议问题