newbie question: Javadoc for standard JDK API [message #88030] |
Thu, 21 August 2003 22:53 |
Eclipse User |
|
|
|
Originally posted by: bobo555.hotmail.com
I have seen in the Eclipse user guide and help file that there is supposed
to be little hover window that will display the Javadoc for standard JDK
API . e.g. If I hover over something like "Character.toString()", it will
show me a window that displays the following: "Returns a String object
representing this Character's value. The result is a string of length 1
whose sole component is the primitive char value represented by this
Character object", just like what I would see if I look up the Javadoc for
the JDK API on Sun website. Exactly how do I turn this feature on. I
have the content assist on, which shows me what methods are available for
a specific variable after the dot. I looked everywhere but just cannot
seem to find out how to turn on this feature. It will be really great if
someone can point me to a reference or teach me how to do it. Thanks a
lot!
|
|
|
Re: newbie question: Javadoc for standard JDK API [message #88133 is a reply to message #88030] |
Fri, 22 August 2003 06:27 |
Eclipse User |
|
|
|
Originally posted by: tom.eicher.gmx.ch.nodomain
You need to have the JRE class library source installed and your JRE
(Preferences->Java->Installed JREs) pointing to it.
-tom
bo bo wrote:
> I have seen in the Eclipse user guide and help file that there is supposed
> to be little hover window that will display the Javadoc for standard JDK
> API . e.g. If I hover over something like "Character.toString()", it will
> show me a window that displays the following: "Returns a String object
> representing this Character's value. The result is a string of length 1
> whose sole component is the primitive char value represented by this
> Character object", just like what I would see if I look up the Javadoc for
> the JDK API on Sun website. Exactly how do I turn this feature on. I
> have the content assist on, which shows me what methods are available for
> a specific variable after the dot. I looked everywhere but just cannot
> seem to find out how to turn on this feature. It will be really great if
> someone can point me to a reference or teach me how to do it. Thanks a
> lot!
>
>
>
|
|
|
Re: newbie question: Javadoc for standard JDK API [message #88463 is a reply to message #88133] |
Fri, 22 August 2003 21:16 |
Eclipse User |
|
|
|
Originally posted by: bobo555.hotmail.com
Thanks for your help, but I still need a bit more info. I went to
Preferences->Java->Installed JREs and my settings is pointing to the right
place to get the Javadoc for the API. The Javadoc DOES show if I do
"Shift+F2" to view it externally (it launches a eclipse browser and go to
the right place in the Javadoc). However, it just wouldn't show in the
little hover window, it'll only show the fully-qualified package path for
the class, but nothing more. How exactly do I make all the info show in
the hover window.
Thanks a lot in advance
Tom Eicher wrote:
> You need to have the JRE class library source installed and your JRE
> (Preferences->Java->Installed JREs) pointing to it.
> -tom
> bo bo wrote:
> > I have seen in the Eclipse user guide and help file that there is supposed
> > to be little hover window that will display the Javadoc for standard JDK
> > API . e.g. If I hover over something like "Character.toString()", it will
> > show me a window that displays the following: "Returns a String object
> > representing this Character's value. The result is a string of length 1
> > whose sole component is the primitive char value represented by this
> > Character object", just like what I would see if I look up the Javadoc for
> > the JDK API on Sun website. Exactly how do I turn this feature on. I
> > have the content assist on, which shows me what methods are available for
> > a specific variable after the dot. I looked everywhere but just cannot
> > seem to find out how to turn on this feature. It will be really great if
> > someone can point me to a reference or teach me how to do it. Thanks a
> > lot!
> >
> >
> >
|
|
|
Re: newbie question: Javadoc for standard JDK API [message #88818 is a reply to message #88463] |
Mon, 25 August 2003 05:24 |
Eclipse User |
|
|
|
Originally posted by: tom.eicher.gmx.ch.nodomain
Shift+F2 and the hovers don't take the same input: Shift+F2 will launch
a browser with the Javadoc output generated from source. What you need
for the hovers to show up, is the *source* of the class library. It is
available a vendor / distributor of a JVM, e.g. you can download it from
SUN for the SUN JRE. You can reference the Zip-file from the JRE
preferences.
-tom
Bo Bo wrote:
> Thanks for your help, but I still need a bit more info. I went to
> Preferences->Java->Installed JREs and my settings is pointing to the right
> place to get the Javadoc for the API. The Javadoc DOES show if I do
> "Shift+F2" to view it externally (it launches a eclipse browser and go to
> the right place in the Javadoc). However, it just wouldn't show in the
> little hover window, it'll only show the fully-qualified package path for
> the class, but nothing more. How exactly do I make all the info show in
> the hover window.
>
> Thanks a lot in advance
>
>
> Tom Eicher wrote:
>
>
>>You need to have the JRE class library source installed and your JRE
>>(Preferences->Java->Installed JREs) pointing to it.
>
>
>>-tom
>
>
>>bo bo wrote:
>
>
>>>I have seen in the Eclipse user guide and help file that there is supposed
>>>to be little hover window that will display the Javadoc for standard JDK
>>>API . e.g. If I hover over something like "Character.toString()", it will
>>>show me a window that displays the following: "Returns a String object
>>>representing this Character's value. The result is a string of length 1
>>>whose sole component is the primitive char value represented by this
>>>Character object", just like what I would see if I look up the Javadoc for
>>>the JDK API on Sun website. Exactly how do I turn this feature on. I
>>>have the content assist on, which shows me what methods are available for
>>>a specific variable after the dot. I looked everywhere but just cannot
>>>seem to find out how to turn on this feature. It will be really great if
>>>someone can point me to a reference or teach me how to do it. Thanks a
>>>lot!
>>>
>>>
>>>
>
>
>
|
|
|
Re: newbie question: Javadoc for standard JDK API [message #89395 is a reply to message #88818] |
Tue, 26 August 2003 19:19 |
Eclipse User |
|
|
|
Originally posted by: bobo555.hotmail.com
Thank you so much. I finally got it after I tinker with the Java Build
Path settings for my project. Your help is greatly appreciated. =)
Tom Eicher wrote:
> Shift+F2 and the hovers don't take the same input: Shift+F2 will launch
> a browser with the Javadoc output generated from source. What you need
> for the hovers to show up, is the *source* of the class library. It is
> available a vendor / distributor of a JVM, e.g. you can download it from
> SUN for the SUN JRE. You can reference the Zip-file from the JRE
> preferences.
> -tom
> Bo Bo wrote:
> > Thanks for your help, but I still need a bit more info. I went to
> > Preferences->Java->Installed JREs and my settings is pointing to the right
> > place to get the Javadoc for the API. The Javadoc DOES show if I do
> > "Shift+F2" to view it externally (it launches a eclipse browser and go to
> > the right place in the Javadoc). However, it just wouldn't show in the
> > little hover window, it'll only show the fully-qualified package path for
> > the class, but nothing more. How exactly do I make all the info show in
> > the hover window.
> >
> > Thanks a lot in advance
> >
> >
> > Tom Eicher wrote:
> >
> >
> >>You need to have the JRE class library source installed and your JRE
> >>(Preferences->Java->Installed JREs) pointing to it.
> >
> >
> >>-tom
> >
> >
> >>bo bo wrote:
> >
> >
> >>>I have seen in the Eclipse user guide and help file that there is supposed
> >>>to be little hover window that will display the Javadoc for standard JDK
> >>>API . e.g. If I hover over something like "Character.toString()", it will
> >>>show me a window that displays the following: "Returns a String object
> >>>representing this Character's value. The result is a string of length 1
> >>>whose sole component is the primitive char value represented by this
> >>>Character object", just like what I would see if I look up the Javadoc for
> >>>the JDK API on Sun website. Exactly how do I turn this feature on. I
> >>>have the content assist on, which shows me what methods are available for
> >>>a specific variable after the dot. I looked everywhere but just cannot
> >>>seem to find out how to turn on this feature. It will be really great if
> >>>someone can point me to a reference or teach me how to do it. Thanks a
> >>>lot!
> >>>
> >>>
> >>>
> >
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.02700 seconds