Autofill in Netbeans

I am using Netbeans 7.2.1, when I type private String a(Java code), the IDE displays a prompt window aStringasking me to specify a variable with its type as a postfix. Also, when I keep typing ;, it completes the code with private String aString;. Actually, I don't like this naming style, so how do I change the settings?

+5
source share
3 answers

In the section Preferences -> Editor -> Code Completionyou can find properties of automatic completion. You can disable the "Popup pop-up window" window so that it cannot appear automatically.

You can open a popup window with a full set of hot keys: control+space

, , esc , .

+12

:

  • > > >
  • Java
  • Java

:

enter image description here

enter image description here

+5

Go to: Settings β†’ Editor β†’ Formatting.

From the Language drop-down list, select Java.

There are many other categories that you can choose from, and you can customize the code formatting style there.

+3
source

All Articles