Code Completion and Java Doc [message #84927] |
Sat, 09 July 2005 03:53 |
Eclipse User |
|
|
|
Originally posted by: ccerinojr.gmail.com
I am think about switching from netbeans over to eclipse, but one major
thing that is stopping me is that the javadoc pop up windows dont work.
For some reason eclipse cant find the proper information from my JRE i am
guessing to populate these pop up windows. These windows are a big
convience and a time saver when coding in java. Does anyone know how to
get them to work properly?
|
|
|
|
Re: Code Completion and Java Doc [message #85019 is a reply to message #84944] |
Sat, 09 July 2005 14:00 |
Eclipse User |
|
|
|
Originally posted by: ccerinojr.gmail.com
I have both Mac OS X and WinXp. The code completion works, but the javadoc
pop up windows for the code completion suggestion dont work. Also when you
click on some thing and press F2 the box that is suppose to contain the
javadoc is empty. I am guessing this has something to with Eclipse looking
at the src file. I remeber when I setup netbeans on my mac I had the same
problems, so I had to transfer my src from my XP box over to my mac and
then point netbeans to it.
Carmen Cerino
|
|
|
Re: Code Completion and Java Doc [message #85053 is a reply to message #85019] |
Sat, 09 July 2005 14:29 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Yes, Eclipse requires the source be available for a class to show the
javadoc in the javadoc view. So you'll need to get the src.zip and point
to it in your JRE setup.
Hope this helps,
- Jeff
Carmen Cerino wrote:
> I have both Mac OS X and WinXp. The code completion works, but the
> javadoc pop up windows for the code completion suggestion dont work.
> Also when you click on some thing and press F2 the box that is suppose
> to contain the javadoc is empty. I am guessing this has something to
> with Eclipse looking at the src file. I remeber when I setup netbeans on
> my mac I had the same problems, so I had to transfer my src from my XP
> box over to my mac and then point netbeans to it.
> Carmen Cerino
>
|
|
|
Re: Code Completion and Java Doc [message #85109 is a reply to message #85053] |
Sat, 09 July 2005 21:49 |
Bill Ewing Messages: 49 Registered: July 2009 |
Member |
|
|
I'm not sure this question got answered, or at least my question is
similar.
Click on any Sun-provided class, hit F1, and you get a list of options
that includes JavaDoc. Starting with eclipse 3.1, this appears in a new
help window.
Unfortunately, the same isn't true for SWT and JFace. With each and every
project we had to right click on these libraries and set the JavaDoc
location.
But it wasn't that easy because the Javadoc was in a zip file buried deep
under the plugins folder. I guess this all makes sense, but could wish it
wasn't such a PITB.
But now, with 3.1 the above solution doesn't seem to be working for us.
This is a Newcomer forum, so I would like to request a Newcomer answer.
Could someone spell out exactly how they set up SWT and JFace so that you
can do this:
1. Click on a SWT or JFace class name in your code.
2. Hit F1.
3. See a menu/list that includes the option Show JavaDoc.
Thanks,
Bill
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.11765 seconds