Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete in Netbeans

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?

like image 284
PinkyJie Avatar asked Mar 11 '13 03:03

PinkyJie


People also ask

How do I autocomplete in NetBeans?

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

How do I turn off suggestions in NetBeans?

If you go into NetBeans > Tools > Options > Editor > Code Completion, you can check or uncheck "Auto Popup Completion Window" for whatever Languages you want.

How do I open a Javadoc in NetBeans?

From the menu bar, select Window > IDE Tools > Javadoc Documentation to open the Javadoc window, in which the documentation is refreshed automatically for the location of your cursor.


Video Answer


1 Answers

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

like image 187
Sadhon Avatar answered Sep 22 '22 04:09

Sadhon