Code Completion for Wicket in NetBeans IDE

One thing I've found useful about learning Wicket in NetBeans IDE is the IDE's code completion functionality. For example, here I'm creating a new Wicket component in the Source Editor, but I'm too lazy (or ignorant) to type the whole component type -- so, all I do is click Ctrl-Space and the code completion popup appears, displaying all the possible ways to complete the already-typed code, together with the related Javadoc:

To set Wicket's Javadoc up in the IDE, go to the Library Manager, select the 'wicket' library (or whatever you've called the library that contains all the Wicket JARs) and use the Javadoc tab to add the folder that contains the Javadoc:

That's it. Now you've made Wicket's Javadoc available to the IDE, and you can read the related Javadoc while using code completion inside the IDE.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today