Shift-F2 / external Javadoc (shot self in foot) [message #161897] |
Thu, 20 July 2006 19:00  |
Eclipse User |
|
|
|
Originally posted by: bubba.dekworld.com
I'm having trouble configuring 3.0.2 "shift-f2" - which is supposed to open
a browser window to the appropriate Javadoc page, e.g. the HashMap page when
I highlight that class name in some java code in the editor view.
This had been working fine up until my decision to fix it. (Don't ever fix
something that's not broken.)
Up until that decision, shift-F2 had been retrieving the right Javadoc from
the Sun site. But since I've got the complete 1.4.2 SDK Javadoc stored in a
local folder on my machine, I figured what the heck...
So I tried to make shift-F2 retrieve from that local folder. And now, no
matter what I do, it totally doesn't work. Per this
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=113657), I've looked at
Windows->Preferences->Java->Installed JREs, which has Javadoc URL =
http://java.sun.com/j2se/1.4.2/docs/api, which seems like an ok setting.
And I've also got Project->Properties->Javadoc Location = <blank>, which I
believe was the original setting before I started monkeying with things.
With those settings, shift-F2 says "The documentation location for <blah>
has not been configured... specify the Javadoc location URL on the
properties page of the parent project...". But when I do that, ie go back
to Project->Properties->Javadoc Location and change <blank> to the same
setting as for Windows->Preferences->Java->Installed JREs, ie
http://java.sun.com/j2se/1.4.2/docs/api, then shift-F2 always takes me to
Sun's Javadoc overview page, and never to the specific page I want (eg for
HashMap).
It sure would be nice to get this thing working correctly again.
|
|
|
Re: Shift-F2 / external Javadoc (shot self in foot) [message #161979 is a reply to message #161897] |
Fri, 21 July 2006 08:11  |
Eclipse User |
|
|
|
Originally posted by: bubba.dekworld.com
Nevermind - resolved.
(Prob #1: I had mistakenly left focus in the Pkg Explorer view; should have
been in the Editor view. Prob #2: I needed to set project->properties->java
build path->libraries->jre system library->core->javadoc location.)
"Dan" <bubba@dekworld.com> wrote in message
news:e9p1uc$i8h$1@utils.eclipse.org...
> I'm having trouble configuring 3.0.2 "shift-f2" - which is supposed to
> open a browser window to the appropriate Javadoc page, e.g. the HashMap
> page when I highlight that class name in some java code in the editor
> view.
>
> This had been working fine up until my decision to fix it. (Don't ever
> fix something that's not broken.)
>
> Up until that decision, shift-F2 had been retrieving the right Javadoc
> from the Sun site. But since I've got the complete 1.4.2 SDK Javadoc
> stored in a local folder on my machine, I figured what the heck...
>
> So I tried to make shift-F2 retrieve from that local folder. And now, no
> matter what I do, it totally doesn't work. Per this
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=113657), I've looked at
> Windows->Preferences->Java->Installed JREs, which has Javadoc URL =
> http://java.sun.com/j2se/1.4.2/docs/api, which seems like an ok setting.
> And I've also got Project->Properties->Javadoc Location = <blank>, which I
> believe was the original setting before I started monkeying with things.
> With those settings, shift-F2 says "The documentation location for <blah>
> has not been configured... specify the Javadoc location URL on the
> properties page of the parent project...". But when I do that, ie go back
> to Project->Properties->Javadoc Location and change <blank> to the same
> setting as for Windows->Preferences->Java->Installed JREs, ie
> http://java.sun.com/j2se/1.4.2/docs/api, then shift-F2 always takes me to
> Sun's Javadoc overview page, and never to the specific page I want (eg for
> HashMap).
>
> It sure would be nice to get this thing working correctly again.
>
|
|
|
Powered by
FUDForum. Page generated in 0.06622 seconds