Authors:
hsm
free software

JarDoc

Products: IntelliJ IDEA

Vendor: Henrik Schmidt-Møller

Email:

Website: N/A

Description:

Open JAR packaged JavaDoc documentation in Firefox. Especially useful for Maven users. You will need to set Firefox as your external browser. If the JavaDoc target is not a JAR file, this will behave similarly to the native "Open In Browser".

In order for this to work in OS X you must create an executable script and have Idea use this instead of the default browser. This is the contents of mine:

#!/bin/sh osascript -e "tell application \"Firefox\"" -e "activate" -e "OpenURL \"$1\"" -e "end tell"

Shortcut: SHIFT+ALT+F1

Downloads: 3542
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
1.0.1. 80.8000. . Download 7.84 2008-12-19 10:35:56 details
1.0. 75.7757. . Download 7.69 2008-06-07 22:53:17 details
. .

Recent change notes:

Idea 8.0 compatibility update

Comments:

hsm
2009-07-03 02:48:41
Oh, I see the problem (I think). You're using the build-in documentation lookup. This will not work.

Use shift+alt-f1 instead of shift+f1 or use the menu (View->External Jar JavaDoc)
.
hsm
2009-07-03 02:31:10
To the anonymous with the cxf problem: I could not reproduce it. It works here on a windows xp pro with Intellij Idea 8.1 and firefox 3.5
.
Anonymous
2009-07-01 13:03:28
For some reason I can not make it work despite the fact I set "Default Web Browser" to "C:\Program Files\Mozilla Firefox\firefox.exe" in IDEA.

I always get the error message:

Cannot show "jar://Z:/Documents and Settings/tzhrija1/.m2/repository/org/apache/cxf/cxf-api/2.2/cxf-api-2.2-javadoc.jar!/org/apache/cxf/interceptor/Fault.html" in external browser

Any idea?
.
Anonymous
2009-03-12 00:44:48
Never mind - it works for me now. When the instructions say "you must use Firefox", it means you need to set it inside IntelliJ, not at the system level.
.
Anonymous
2009-03-12 00:29:48
Didn't work for me on 7.0.3 either; I get "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item" in a popup alert that has "jar:file:/C:/Documents and Settings/user/.m2/repository/.../javadoc.jar!com/.../whatever.html" in the titlebar.
.
Anonymous
2009-01-25 22:28:24
Don't know why, but it doesn't work for me. When I try to open JavaDoc by pressing SHIFT+ALT+F1, I get error message:

jar:file:/...(path-to-javadoc-in-jar)
The parameter is incorrect.

I'm using latest Intellij v8.0.1
.
Anonymous
Rated:
2008-08-18 20:23:41
I was very frustrating that IntelliJ would download the javadoc and would correctly configure the javadoc in the project settings, but would not launch the javadoc in an external browser. This fixed the problem for me. Thanks.
.