In Eclipse editor, when you press F3 key on any User Defined Class / Interface / Annotation names, the IDE takes you to the source.
But, in case you want the same behavior for Java’s core classes or third party library, you can have it by attaching the Java source with the Eclipse IDE.
Steps to attach Java Source
1. Select any Class / Annotation / Interface / (Autowired) name and press F3 key
2. You get this page in editor
3. Attach Java source (If you do not see this in Context Menu, Please download Java Source Attacher plugin from Eclipse Marketplace)
4. It automatically downloads the source for you and attaches it.
Resource : java-source-attacher
No comments:
Post a Comment