开发者

Eclipse won't load my javadocs

开发者 https://www.devze.com 2023-01-11 16:44 出处:网络
I\'m trying to create a SWT application in eclipse. I\'ve followed the instructions and loaded the org.eclipse.swt project to my workspace, and made it a开发者_如何转开发 dependency of my project by a

I'm trying to create a SWT application in eclipse. I've followed the instructions and loaded the org.eclipse.swt project to my workspace, and made it a开发者_如何转开发 dependency of my project by adding it to my build path.

However i cannot see the javadoc when i'm referencing the SWT libraries. I tried extracting the 'src.zip' into the org.eclipse.swt project, and then tried generating the Javadoc which created a 'doc' folder with a whole bunch of html files, so i think it's all there, it's just that eclipse isn't picking it up.

Can someone suggest anything please?


You shouldn't need to generate anything to get the Javadoc.

See if you can edit your SWT build classpath entry and attach the src.zip there. That should be enough to display the associated javadoc (like in this tutorial, except you can reference an external file src.zip instead of the external 'src' directory).


You shouldn't need to extract the zip or generate the Javadoc. I assume you followed the instructions listed here:

Developing SWT applications using Eclipse

I followed the same steps and was able to view the Javadocs in the Javadoc view tab. The tab is automatically updated whenever you click on a class you are instantiating in your code.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号