Skip to main content



      Home
Home » Newcomers » Newcomers » Is there context-sensitive help for Java included?
Is there context-sensitive help for Java included? [message #104748] Mon, 26 September 2005 02:23 Go to next message
Eclipse UserFriend
Originally posted by: rcgraulich.gmx.de

Hi,

I'm using Eclipse now for a while. So I like it! But now I've to teach Java
to some students and we're missing a context senitive help.

Let's have an example': Creating the HelloWorld Applet we use the paint()
methode. How can we get the JavaDoc Help to that methode? Usually we leave
Eclipse to load the Java Online Help/Documentation in any browser, which
isn't that much comfortable.

Any Idea?

TIA

Rolf
Re: Is there context-sensitive help for Java included? [message #104902 is a reply to message #104748] Mon, 26 September 2005 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manahan.NOSPAM.ca.ibm.com

Rolf Graulich wrote:
> Hi,
>
> I'm using Eclipse now for a while. So I like it! But now I've to teach Java
> to some students and we're missing a context senitive help.
>
> Let's have an example': Creating the HelloWorld Applet we use the paint()
> methode. How can we get the JavaDoc Help to that methode? Usually we leave
> Eclipse to load the Java Online Help/Documentation in any browser, which
> isn't that much comfortable.
>
> Any Idea?
>
> TIA
>
> Rolf


I found Shift-F2 works. Not sure if you have to set any preferences but
for me it worked out of the box.

Peter
Re: Is there context-sensitive help for Java included? [message #104926 is a reply to message #104748] Mon, 26 September 2005 15:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.gmail.com

If you have the source available for the code you're interested in, the
javadoc should show up when you hover your mouse over a java element.
Alternatively you can show the Javadoc view by going to Window->Show
View->Javadoc. The Javadoc view will show the documentation for the
selected java element.

Hope this helps,
- Jeff

Rolf Graulich wrote:
> Hi,
>
> I'm using Eclipse now for a while. So I like it! But now I've to teach Java
> to some students and we're missing a context senitive help.
>
> Let's have an example': Creating the HelloWorld Applet we use the paint()
> methode. How can we get the JavaDoc Help to that methode? Usually we leave
> Eclipse to load the Java Online Help/Documentation in any browser, which
> isn't that much comfortable.
>
> Any Idea?
>
> TIA
>
> Rolf
Re: Is there context-sensitive help for Java included? [message #105036 is a reply to message #104926] Mon, 26 September 2005 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rcgraulich.gmx.de

Jeff Myers wrote:
> If you have the source available for the code you're interested in, the
> javadoc should show up when you hover your mouse over a java element.
>
Doing this, i.e. hover over System.out it is displaying "java.lang.System"
This isn't much for someone just starting Java ;-)

> Alternatively you can show the Javadoc view by going to Window->Show
> View->Javadoc. The Javadoc view will show the documentation for the
> selected java element.
>
Nice tipp, didn't know this. So i got the view @javadoc which is allmost
empty. All I can see clicking on i.e. "main(String[] args)" is an entry
that displays "Parameters: args"

What else can I do? Anny Idea?

BTW: The Tipp of Peter Manahan by typing [shift]+[F2] didn't help either
So I strongly going to think that there is something wrong with my
Eclipse-settings

> Hope this helps,
> - Jeff
>
> Rolf Graulich wrote:
>> Hi,
>>
>> I'm using Eclipse now for a while. So I like it! But now I've to teach
>> Java to some students and we're missing a context senitive help.
>>
>> Let's have an example': Creating the HelloWorld Applet we use the paint()
>> methode. How can we get the JavaDoc Help to that methode? Usually we
>> leave Eclipse to load the Java Online Help/Documentation in any browser,
>> which isn't that much comfortable.
>>
>> Any Idea?
>>
>> TIA
>>
>> Rolf
Re: Is there context-sensitive help for Java included? [message #105116 is a reply to message #105036] Mon, 26 September 2005 21:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Rolf Graulich wrote:
> Jeff Myers wrote:
>
>>If you have the source available for the code you're interested in, the
>>javadoc should show up when you hover your mouse over a java element.
>>
>
> Doing this, i.e. hover over System.out it is displaying "java.lang.System"
> This isn't much for someone just starting Java ;-)
>
>
>>Alternatively you can show the Javadoc view by going to Window->Show
>>View->Javadoc. The Javadoc view will show the documentation for the
>>selected java element.
>>
>
> Nice tipp, didn't know this. So i got the view @javadoc which is allmost
> empty. All I can see clicking on i.e. "main(String[] args)" is an entry
> that displays "Parameters: args"
>
> What else can I do? Anny Idea?

It sounds like your Eclipse installation is pointing to a JRE
installation, not a Java SDK. Go to
Window->Preferences->Java->Installed JREs. Make sure the default one is
an SDK directory containing a src.zip, not a JRE directory.

- Jeff
Re: Is there context-sensitive help for Java included? [message #105345 is a reply to message #105116] Tue, 27 September 2005 13:26 Go to previous message
Eclipse UserFriend
Originally posted by: rcgraulich.gmx.de

Jeff Myers wrote:

> Rolf Graulich wrote:
>> Jeff Myers wrote:
>>
>>>If you have the source available for the code you're interested in, the
>>>javadoc should show up when you hover your mouse over a java element.
>>>
>>
>> Doing this, i.e. hover over System.out it is displaying
>> "java.lang.System" This isn't much for someone just starting Java ;-)
>>
>>
>>>Alternatively you can show the Javadoc view by going to Window->Show
>>>View->Javadoc. The Javadoc view will show the documentation for the
>>>selected java element.
>>>
>>
>> Nice tipp, didn't know this. So i got the view @javadoc which is allmost
>> empty. All I can see clicking on i.e. "main(String[] args)" is an entry
>> that displays "Parameters: args"
>>
>> What else can I do? Anny Idea?
>
> It sounds like your Eclipse installation is pointing to a JRE
> installation, not a Java SDK. Go to
> Window->Preferences->Java->Installed JREs. Make sure the default one is
> an SDK directory containing a src.zip, not a JRE directory.
>
> - Jeff
Thanks,

that last tipp was verry helpfull! Now I understand that way of Java&Eclipse
more clearly;-)

Rolf
--
keep swinging
Previous Topic:Linking upper and lower panels
Next Topic:Testing - please ignore
Goto Forum:
  


Current Time: Thu May 22 17:15:02 EDT 2025

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

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

Back to the top