Shift+F1 on method - opens a Class javadoc, not method's
Build 3408:
Having a cursor on method's name (say, directory.isDirectory()) and pressing Shift+F1 I'm expecting to see the javadoc of the method specified ("docs/api/java/io/File.html#isDirectory()"). Instead, the class javadoc is opened ("docs/api/java/io/File.html")
Please sign in to leave a comment.
It appears Windows "start" command (which we use for substitue of 'system
default browser') doesn't like # anchors.
For instance, if you run
start file://C:/JDK/jdk1.5.0_02/docs/api/java/lang/String.html#charAt(int)
from the command line you'll go to String.html's root.
Strange enough but problem can be worked around by specifying brower's .exe
location in Settings|General.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Maxim Shafirov (JetBrains) wrote:
But it works if you give an http URL with anchor. Bizarre.
Max, since you already have Windows-specific DLLs, you may want to
consider making a simple native method on a utility class which uses the
appropriate Shell API call to open the URL.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001
I've just actually worked that around by generating simple html with redirection
to original url and opening that html instead of original. Works like a charm.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
Watch out you're turning into a web developer :D
R
Hmm, that's correct - 4.5 version was suffering from the same problem and this workaround fixed it quickly. It was just the first time in my life I din't specify the browser and let the "default" one to take action .. So far for the defaults :) Thank's anyway !