Skip to main content



      Home
Home » Newcomers » Newcomers » Context-Sensitive Help
Context-Sensitive Help [message #84898] Fri, 08 July 2005 20:11 Go to next message
Eclipse UserFriend
Originally posted by: fred.lackey.spamjammer.com

Is there some way to get Eclipse 3.1 to provide context-sensitive help when
F1 is pressed (or any key, for that matter)? I am coming from the M$ world,
and within Visual Studio, if you want more info about a particular class,
you just select the class and hit F1. The appropriate page is then opened
for you to read. I would love to have this within Eclipse.

Thanx! =}
Re: Context-Sensitive Help [message #84913 is a reply to message #84898] Fri, 08 July 2005 21:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: glass.cs.tu-berlin.de

Fred Lackey schrieb:
> Is there some way to get Eclipse 3.1 to provide context-sensitive help when
> F1 is pressed (or any key, for that matter)? I am coming from the M$ world,
> and within Visual Studio, if you want more info about a particular class,
> you just select the class and hit F1. The appropriate page is then opened
> for you to read. I would love to have this within Eclipse.
>
> Thanx! =}
>
>

Shift + F2
Re: Context-Sensitive Help [message #85232 is a reply to message #84913] Sun, 10 July 2005 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fred.lackey.spamjammer.com

"Juri Glass" <glass@cs.tu-berlin.de> wrote in message
news:danald$6is$1@news.eclipse.org...
>
> Shift + F2


I have tried this, but it appears to be for project-specific items only. Is
there any way to set this up for the JDK 5 base? I am really trying to open
the door to understanding Java better. My goal is to be able to pull in
complex methods and classes and then walk through them to better understand
what the author was attempting to accomplish. Being able to open the Java
reference is where this becomes helpful to me at this point.

Thanx. =)
Re: Context-Sensitive Help [message #85278 is a reply to message #85232] Sun, 10 July 2005 22:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cj19841015.hotmail.com

Right click the project name on the left Package Explorer View, then select
properties. You'll find "Javadoc Location" in which you could set the
Javadoc location path. You are supposed to target to the api folder in J2SE
api doc.
After you do all above, you may try it by pressing F2 when the focus is on a
J2SE class, or pressing F1 to activate the dynamic help in which the first
item is Javadoc link to a web page for the class.
Good luck:-)
Re: Context-Sensitive Help [message #85358 is a reply to message #85232] Mon, 11 July 2005 10:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Fred Lackey wrote:
> "Juri Glass" <glass@cs.tu-berlin.de> wrote in message
> news:danald$6is$1@news.eclipse.org...
>
>>Shift + F2
>
> I have tried this, but it appears to be for project-specific items only. Is
> there any way to set this up for the JDK 5 base? I am really trying to open
> the door to understanding Java better. My goal is to be able to pull in
> complex methods and classes and then walk through them to better understand
> what the author was attempting to accomplish. Being able to open the Java
> reference is where this becomes helpful to me at this point.

As long as you are referencing a JDK and not just a JRE, Shift-F2 should
work for core classes. What happens when you hit Shift+F2 on a core
library class like String?
To make sure your JRE has its JavaDoc association correct, open up the
Preferences page for the installed JREs (Preferences | Java | Installed
JREs) select the one you're working with, and click Edit...
There you should expand the rt.jar entry and see that it has a valid
JavaDoc location.

HTH,
Eric
Re: Context-Sensitive Help [message #85577 is a reply to message #85358] Tue, 12 July 2005 08:34 Go to previous message
Eclipse UserFriend
Originally posted by: cj19841015.hotmail.com

Thanks to Eric, this help me a lot.
At the very begining I even don't know how to change the JavaDoc location
for Core Classes except the way I mentioned in my reply.
And I believe I also found how to add different API Javadoc at workbench
level.

Thanks again:-)

"Eric Rizzo" <eclipse3@rizzoweb.com> wrote in message
news:datv1r$4il$1@news.eclipse.org...
> Fred Lackey wrote:
>> "Juri Glass" <glass@cs.tu-berlin.de> wrote in message
>> news:danald$6is$1@news.eclipse.org...
>>
>>>Shift + F2
>>
>> I have tried this, but it appears to be for project-specific items only.
>> Is there any way to set this up for the JDK 5 base? I am really trying
>> to open the door to understanding Java better. My goal is to be able to
>> pull in complex methods and classes and then walk through them to better
>> understand what the author was attempting to accomplish. Being able to
>> open the Java reference is where this becomes helpful to me at this
>> point.
>
> As long as you are referencing a JDK and not just a JRE, Shift-F2 should
> work for core classes. What happens when you hit Shift+F2 on a core
> library class like String?
> To make sure your JRE has its JavaDoc association correct, open up the
> Preferences page for the installed JREs (Preferences | Java | Installed
> JREs) select the one you're working with, and click Edit...
> There you should expand the rt.jar entry and see that it has a valid
> JavaDoc location.
>
> HTH,
> Eric
Previous Topic:Compile Time scripts.
Next Topic:plugins
Goto Forum:
  


Current Time: Fri May 09 16:23:23 EDT 2025

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

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

Back to the top