Issue: After Shift+F1 IDEA show me following error message:
Cannot show jar://C:/api.zip!/org/springframework/web/context/support/WebApplicationContextUtils.html in external browser.
My default external browser - Firefox can't open url in this form, but when I use url with jar:file in the begining (instead of jar):
jar:
file://C:/api.zip!/org/springframework/web/context/support/WebApplicationContextUtils.htmleverything works fine and Firefox is able open html page in jar archive.
Is it possible in IDEA change the syntax of url from jar://C:/.... to jar:
file://C:/...?Environment: Windows XP
Issue was resolved
However when i tried to integrate JDK 5.0 documentation into IDEA (using jdk-1_5_0-doc.zip file) i found that same "jar://..." annoying issue. I do that integration so easily in Eclipse that it's kind of depressing i cannot have the same functionality in IDEA. Eclipse simply reads from the jdk-1_5_0-doc.zip file (in the case of JKD 5.0 documentation) and offers the desired javadoc page on its local webserver. Can't be that hard to do the same in IDEA.
These little details make a big difference when choosing a development platform.
Keep up the greak work.
As the submitter pointed out, Firefox does handle viewing files inside a jar. I verified the submitters fix works on Firefox 2.0.0.4 on SLED 10. I can even navigate to other documents within the jar.
An alternative to the jar:file syntax is to optionally explode the jar to a temp directory.
Please fix this. Thanks.
I've created an Idea Plugin that handles this issue. It's called JarDoc and is available at Idea's plugin repository. It was particularly tedious to handle on OS X, because the
jar:file//... is not a proper URL, which means you have to jump through hoops in order to pass it as an argument to Firefox. I do however find it to be a reasonable workaround.
Why is nobody working on this ?
As a temporary workaround, the JarDoc plugin is acceptable.
But it would be much more convenient if we could simply jump from the built-in javadoc window to an external browser
(just as it works when configuring a library with an exploded javadoc directory).
Nobody is working on this because the original question posted on this thread 3 years ago as the first comment to this issue wasn't answered by anyone. You know, not everyone uses Firefox.
FF3
IE7
Safari 3.1.2
Chrome 0.2.149.30
and it only worked with FF3. However, even if it only works on FF, doesn't it still make sense to fix this bug? Then, rather than not being able to view Javadoc HTML within jars at all, they could at least be viewed when the user's default browser is Firefox.
I loved this great Shift+F1 shortcut, and I still miss it!