Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » can't see javadoc!
can't see javadoc! [message #211557] Thu, 04 August 2005 08:50 Go to next message
Eclipse UserFriend
Originally posted by: alvin-eclipse.thompsonlogic.com

hello,

i added a couple of user libraries to my code (javamail and jaf). i
attached javadocs to the jar files, and they verify properly. but when i
hover over something or use code completion i don't get any javadocs.
strangely, when i hit shift-f1, i DO get the javadocs in the browser.
javadocs for the jdk show up fine.

i'm sure this has been answered before, but i can't find it. if it
matters, i'm running eclipse 3.1, jdk 1.5, suse linux 9.3, and i do NOT
attach source to the jars--only javadocs. any help would be appreciated.

thanks,
alvin
Re: can't see javadoc! [message #211630 is a reply to message #211557] Thu, 04 August 2005 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Alvin Thompson wrote:

> hello,

> i added a couple of user libraries to my code (javamail and jaf). i
> attached javadocs to the jar files, and they verify properly. but when i
> hover over something or use code completion i don't get any javadocs.
> strangely, when i hit shift-f1, i DO get the javadocs in the browser.
> javadocs for the jdk show up fine.

> i'm sure this has been answered before, but i can't find it. if it
> matters, i'm running eclipse 3.1, jdk 1.5, suse linux 9.3, and i do NOT
> attach source to the jars--only javadocs. any help would be appreciated.

> thanks,
> alvin

Source code hover windows are driven by source not by javadoc. You need
to attach source for the hovers to show anything.
Re: can't see javadoc! [message #211637 is a reply to message #211630] Thu, 04 August 2005 17:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alvin-eclipse.thompsonlogic.com

Dave Wegener wrote:
> Source code hover windows are driven by source not by javadoc. You need
> to attach source for the hovers to show anything.

thanks for the reply. has anyone put in an RFE for this? every other IDE
at least shows javadocs for code completion.

-alvin
Re: can't see javadoc! [message #211651 is a reply to message #211637] Thu, 04 August 2005 18:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Alvin Thompson wrote:
> Dave Wegener wrote:
>
>> Source code hover windows are driven by source not by javadoc. You
>> need to attach source for the hovers to show anything.
>
>
> thanks for the reply. has anyone put in an RFE for this? every other IDE
> at least shows javadocs for code completion.


https://bugs.eclipse.org/bugs/show_bug.cgi?id=41421
Re: can't see javadoc! [message #211658 is a reply to message #211651] Thu, 04 August 2005 23:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alvin-eclipse.thompsonlogic.com

Eric Rizzo wrote:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=41421

it's got my vote.
Re: can't see javadoc! [message #228713 is a reply to message #211637] Thu, 27 April 2006 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Hi Alvin,
I could not agree more! Not wanting to start a NetBeans food fight here,
but it does this really well and simply.

My suggestion to simplify the whole thing is this:

Just like there is a Libraries tab, have a "Javadoc" tab, where you can
put all the javadocs you want to have visible, either globally, or at a
project level.

The current system of adding Javadoc JARs to a Library entry is firstly
not well documented and secondly it is counter intuitive.

Lastly, PLEASE add a Javadoc option on the context menu under right
click. I would expect on right clicking a object, method, etc. to have a
javadoc option where I can see the FULL javadoc (open it in a browser if
need be), but going to the method/thing in question. (Sorry to mention
it again, but NetBeans does this and it is really logical).

I am recent user of eclipse coming from NetBeans, hence my questions. I
am not arguing for eclipse to become NetBeans, rather there are good
ideas in both ideas which should cross pollinate.
Thanks,
Peter

Alvin Thompson wrote, On 05 Aug 2005 5:42 am:
> Dave Wegener wrote:
>> Source code hover windows are driven by source not by javadoc. You
>> need to attach source for the hovers to show anything.
>
> thanks for the reply. has anyone put in an RFE for this? every other IDE
> at least shows javadocs for code completion.
>
> -alvin
Re: can't see javadoc! [message #228842 is a reply to message #228713] Fri, 28 April 2006 16:54 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

user@domain.invalid wrote:
> Hi Alvin,
> I could not agree more! Not wanting to start a NetBeans food fight here,
> but it does this really well and simply.
>
> My suggestion to simplify the whole thing is this:
>
> Just like there is a Libraries tab, have a "Javadoc" tab, where you can
> put all the javadocs you want to have visible, either globally, or at a
> project level.
>
> The current system of adding Javadoc JARs to a Library entry is firstly
> not well documented and secondly it is counter intuitive.

I strongly disagree - it is very intuitive to me to associate source
and/or Javadoc at the library (JAR) level. Source and Javadoc
attachments are properties of the library itself, so they are associated
that way.
Also, doing it that way makes it nice when you have more than one
project sharing the same set of JARs - you only have to associate the
source or Javadoc one time.


> Lastly, PLEASE add a Javadoc option on the context menu under right
> click. I would expect on right clicking a object, method, etc. to have a
> javadoc option where I can see the FULL javadoc (open it in a browser if
> need be), but going to the method/thing in question. (Sorry to mention
> it again, but NetBeans does this and it is really logical).

Shift+F2 is for that.
Glad you're learning Eclipse, but take care not assume that just because
the keyboard shortcuts or menu placement is different than what you're
used to means Eclipse is somehow less capable.
Previous Topic:Compare program - Synchronize view; Open in compare editor
Next Topic:Classpath issues
Goto Forum:
  


Current Time: Fri Apr 25 06:42:13 EDT 2025

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

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

Back to the top