Thursday October 27, 2005
Integrate into the Editor: NetBeans API Javadoc and Sources
I'm obviously an idiot because only yesterday I realized how easy it is to install NetBeans API Javadoc in the IDE. It's as simple as going to the Update Center and selecting 'API Documentation':
It might take you a while to download the API Documentation module:
But then working with the APIs is much easier (notice how the Javadoc even includes info about the entries required in the layer.xml file):
By the way, if you download the netbeans-5_0-beta-src-ide_sources.zip from here, your world becomes even better: add the ZIP file to the Sources tab in the NetBeans Platform Manager (as shown below)...
...and you'll not only be able to read the Javadoc, but you'll also be able to jump to the actual source code:
Alternatively, just hold down the Ctrl key, and then anything that has sources gets a cool hyperlink (once you move your mouse over it) that you can click on:
(By the way, wouldn't it be cool if I could click Alt+something and then all the hyperlinks in the current source file would be shown? That way, I'd be able to scroll through the file and see all the hyperlinks, instead of having to move my mouse over an item in order to expose its hyperlink. I should make an enhancement request for this.)
Either way, you'll then be able to read the sources of the selected piece of code:
Note, though, that putting the downloaded ZIP file in the Sources tab (i.e., non-extracted ZIP file) has only been possible since yesterday (see issue 62773 for details).
Oct 27 2005, 01:43:00 AM PDT Permalink
Posted by Henry Story on October 27, 2005 at 10:21 AM PDT #
Posted by Geertjan on October 27, 2005 at 10:32 AM PDT #
Posted by Geertjan on October 27, 2005 at 11:08 AM PDT #
It is working with build 200510261858. I loaded the zip file sources only (no need for the api update) into the platform manager and it now gives me method completion and javadoc.
It would be really nice if there were a key shortcut to get inline javadoc directly without having to go through method completion.
Posted by Henry Story on October 30, 2005 at 11:38 AM PST #
Posted by Brian Leonard on November 28, 2005 at 01:17 PM PST #
Posted by Geertjan on November 28, 2005 at 09:11 PM PST #
Posted by Ron Hatt on June 03, 2007 at 01:08 AM PDT #


