tags:

views:

347

answers:

3

Is it possible to set up context help for Java API & language in NetBeans.

For example something like pressing F1 on ServletContextListener (for API) or on word while (for language) in source code and obtain help on these words. (something like in Visual Studio for instance)

I am using NetBeans 6.5.

+1  A: 

The closest that you can get is ctrl-space to bring up the help (while ctrl-space for example).

Are you looking for something like what Visual Studio does?

TofuBeer
yes, exactly, major of my work is in Visual Studio
sergdev
+2  A: 

Pressing Alt-F1 will bring up the javadoc in your default browser but you have to have the javadocs installed for the APIs that you're using.

To install the Java SE javadoc for example, go to java.sun.com and download the documentation then in Netbeans go to Tools > Java Platform then click on the Javadoc tab. Next, click Add ZIP/Folder and select the file you just downloaded.

Window > Other > Javadoc will show a panel with some basic info about the class/interface you highlight.

Bedwyr Humphreys
A: 

Where do you find the documentation you are talking about, on java.sun.com? Thank you K