Tuesday, July 3, 2012

No Code Completion Suggestion in Netbeans

I was working on a tutorial on netbeans which required to add a DB Report on the jsp page but the code completion tool[ctrl+space] shows no suggestions. If you are having the same problem of code completion in netbeans then here is the solution for it. 

1. Open the jsp page, you are working in the editor window.
2. Choose  Window -> Palette
3. In the Palette, Choose the expand the Database option.
4. Click DB Report from the database option and without Releasing your mouse, drag the feature to the position in your file where you want it.
5.Your Insert DB Report dialog appears

You can follow this steps for other components also.