Community
Participate
Working Groups
Build Identifier: 20090621-0832 Hi Eclipse Team, I tried to get the intellisense as good as Java gives. Whenever, I am tried to mouse over on the method, some times it can't show me intellisense and in some time it shows intellisense but without comments, it shows me "Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found." But when i attached the code it shows me proper comments. But if there is no code only reference is their, how can I solve this problem? Help me. Aashish Reproducible: Always
I don't understand what you're asking for. Javadoc hovers can naturally only show up if the Javadoc is available somewhere. So either it comes from attached source, or it comes from attached Javadoc. Javadoc is not available in .class files. If you meant something else, please provide concrete steps to reproduce the problems (e.g. attach a small example project).
Hi Markus Keller, Thank you for reply. Let me understand from the beginning. I have my own JAR, now I am using this JAR in my another code and I use one of the class from the JAR. Now whenever I mouse over on the method it gives me "Note: This element neither has attached source nor attached Javadoc and hence no Javadoc could be found."(sometimes it gives me Class comments also), but when I attached source code or java doc to it, now its shows me Class comments properly. Now suppose I have only JAR not its source code (in my case I have Release Jar). Now in this case what I supposed to do, to get the class comments?? Is there any method to build the JAR, because refer JAR is build by me through ANT script.
Created attachment 178254 [details] Eclipse and Intellisense
Again, Javadoc is not available in the exported JAR, so you have to attach either source or Javadoc (open Properties of the JAR file and go to "Java Source Attachment" or "Javadoc Location").
Hi Markus Keller, Thank you for reply. I generated the doc through Eclipse for a particular project. Now, through Build Path --> Configure Build Path, in Jar properties I add generated javadoc and build the workspace and now it shows me comments. Thank you very much.