Autocomplete in Netbeans

PinkyJie picture PinkyJie · Mar 11, 2013 · Viewed 74k times · Source

I use Netbeans 7.2.1, when I type private String a(Java code), the IDE shows a tip window aString which asks me to name a variable with its type as postfix. In addition, when I continue to type ;, it completes the code with private String aString;. Actually, I do not like this naming style, so, how to change the settings?

Answer

Sadhon picture Sadhon · Aug 23, 2017

For windows :

  1. Go to Tools > Options > Editor > Code Completion
  2. Select Language Java from dropdown
  3. Auto pop-up on typing any Java identifier part

You can take help from the images below:

enter image description here

enter image description here