First of all, I know people realized JavaDoc is a pain in the ass to use. I am also well aware of all those "let's make better JavaDoc" projects out there. Just for reference, there is
- Javadoc online, which is a simple JavaDoc search engine
- Docjar, with its tiny, unintuitive flash based JavaDoc browser, which takes ages to load
- Windows Help format JavaDoc
- Doctree -- directory of (all) JavaDoc sites
- Globaldocs, a JavaDoc browser
Call me old-fogyish, but I tried most of them and always ultimately returned to the (good?) ol' JavaDoc.
Fortunately, I found a way to cure JavaDoc's biggest wound -- it's inability to let me search for a class or a method. The cure is called Greasemonkey and JavaDoc Search Frame or JavaDoc Incremental Search script. How does it work? Install Greasemonkey and install the script. Point your browser on some JavaDoc site and enjoy the search.
Fortunately, it will work on (almost) all JavaDocs in the wild and requires no support from the JavaDoc creator. When the class html frame is loaded, Greasemonkey runs the script and the script automagically adds the search box.
JavaDoc Incremental Search
This is the older of the two scripts. It will display a search box above the class list and will filter out the classes as you type.
JavaDoc Search Frame
Based on the JavaDoc Incremental Search. This script completely removes the packages frame and spans the class frame vertically. It can search package names too and groups the results into packages, classes, interfaces etc.
Now, if only I could also search the methods..
1 comments:
I know this post is a bit, old but I'd like to mention that the JavaDoc search frame can indeed search for methods now. Once a class has been selected, search for a method/field/... by using #methodName.
Post a Comment