Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Code Completion and Java Doc
Code Completion and Java Doc [message #84927] Sat, 09 July 2005 03:53 Go to next message
Eclipse UserFriend
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 #84944 is a reply to message #84927] Sat, 09 July 2005 06:58 Go to previous messageGo to next message
Philippe Ombredanne is currently offline Philippe OmbredanneFriend
Messages: 386
Registered: July 2009
Senior Member
"Carmen " <ccerinojr@gmail.com> wrote in message
news:f59c8122b6233df33a432db405914fa0$1@www.eclipse.org...
> 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?
They work out of the box normally. Which platform, Eclipse version did you
test?
Re: Code Completion and Java Doc [message #85019 is a reply to message #84944] Sat, 09 July 2005 14:00 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Bill Ewing is currently offline Bill EwingFriend
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
Re: Code Completion and Java Doc [message #85140 is a reply to message #85053] Sun, 10 July 2005 04:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ccerinojr.gmail.com

Ya I added edit the installed jre's in eclipse preferences and added the
src.zip and its still not working. Any ideas anyone?
Re: Code Completion and Java Doc [message #85155 is a reply to message #85140] Sun, 10 July 2005 04:39 Go to previous message
Eclipse UserFriend
Originally posted by: ccerinojr.gmail.com

Nevermind I just copied and pasted the src into the jre folder instead of
making a link in eclipse. It works now so thats all that matters :)
Previous Topic:Printing is not working
Next Topic:swing
Goto Forum:
  


Current Time: Sun Jun 30 13:53:53 GMT 2024

Powered by FUDForum. Page generated in 0.08052 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top