Need help with Netbeans

Hi,

I wanted to use Neatbeans now to develop my little
terrain renderer in LWJGL.
But I have a problem with adding the LWJGL JavaDocs to
my IDE. If I type in “GL.” I want to get this nice pop-ups
with all methods listed… But somehow I can’t get it
work.

Could someone point me to the right direction?

Thanks in advance, Adam.

The docs that appear as you are typeing are extracted from JavaDoc comments in source files. Did you point NB to generated JavaDoc output? or the source files?

If you want the methods to appear, I think you want to look at the Tools, Code Completion Database Manager menu. As long as you’ve added the jar file to your project, it should appear there – you can manually update it (so the methods are loaded into memory).

There might be also a slight misunderstanding: the code completion feature has nothing to do with JavaDoc. But of course you can have both with netbeans as leknor and jason pointed out.

In addition to what leknor said, if you have the Javadoc files ready somewhere, NB has the menu ‘Tools->Javadoc Manager’ that allows you to mount it.

And if your code completion goes crazy after a while and bigger projects (suggesting things that no longer exist etc.), there is ‘Tools->Code Completion Database Manager’.

I tried to use the Tools -> JavaDoc Manager and mounted
the sources and the JavaDoc archive (and also extracted)
but I didn’t get it to run. There was an error saying some
special files are missing or something like that.
But now I used the “Code Completion Database Manager”
and added the “lwjgl.jar” and it works :slight_smile:
It will take weeks before I understand everything in Netbeans I think…
especially the huge options and tools menus.

Thanks for all your help!

Took me 1 min to add the code comletion for LWJGL after reading this post hehe, neat , thanks :slight_smile: