Enable code suggestions for Java in Netbeans 8 on every character entered

In the NetBeans 8 IDE, by default you get automatic code completion suggestions when typing a dot. You can also trigger the completion manually at any time by pressing CTRL + SPACE.

Pressing that key combination all the time can get annoying quickly though. So here is how to get it on every character you enter (or key you press):

First, go to Tools => Options. Then Select Editor in the top bar, and go to the Code Completion tab. You should now see this menu shown below. Make sure to select your language, in my case Java, in the drop down list:

netbeans_code_completion_select_java_here.png

 

Then enable the following two checkboxes named Auto Popup on Typing Any Java Identifier Part and Subword completion:

netbeans_code_completion_activate_both_checkboxes.png

Now you should get auto-completion as visible below:

 

netbeans_code_completion_result.png

That’s it, enjoy!

 

 

Advertisements

About dfspspirit

PhD student in bioinformatics, interested in photography, level design, digital image manipulation, architecture and, of course, bioinformatics.
This entry was posted in coding, troubleshooting, tools, IT and computers and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s