I’m a newbie to Eclipse and can’t figure out how to get the JavaDocs for SWT and JFace to show up when I am editing.
How do I do this? Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you’ve dowloaded the jars yourself and referenced them in your project. If so, you can right click the jar in the project explorer (in the ‘Referenced Libraries’ node) and click ‘Properties’. The window that appears you can define the location of the jar’s JavaDoc and source, if you have those available.
You can also reach this by clicking Project > Properties > Java Build Path > Libraries and expanding the node for the jar to which you want to add javadoc/source.
Also worth mentioning that if you use Maven (http://maven.apache.org/) for building your project, it’s dependency management system will take care of finding sources and javadocs for you. But that’s a different topic entirly. Also might be worth looking at Ivy (http://ant.apache.org/ivy/) – similar dependency management system, but can be used without selling your soul to Maven, I’m told.
You might also mean that you can’t actually see the javadocs: Window > Show View > Other… > Java > JavaDoc. This view will show you the javadoc for whatever is currently in focus. Or just mouse over a method to see the javadoc in a popup.