Code completion options for Netbeans 7.3.1?

I found many settings that I really want in this question (remove the delay, show without specific combinations, just like Visual Studio): Is it possible to make autocomplete in netbeans independent of the key combination?

However, in Netbeans 7.3.1 I did not find additional parameters, and I tried to enter a β€œdelay” in the search box, but nothing came of it. In the comments section, I found a solution to display the exit code without having to enter something. But it still has a delay, and this significantly reduces the encoding speed compared to Eclipse.

Can you tell me where I can remove the delay in Netbeans 7.3.1?

+4
source share
2 answers

Go to Tools β†’ Options β†’ Editor β†’ Code Completion

Then change the language to Java and check the completion of the subtitle. This allows partial keywords to open the code completion window, reducing latency, but not completely removing it.

Hope this helps.

+3
source

The surefire way to remove the code completion window delay is to edit the NetBeans XML configuration file. The location of the configuration file is system dependent.

On Mac:

~/Library/Application Support/NetBeans/8.2/config/Editors/text/x-java/Preferences/org-netbeans-modules-editor-settings-CustomPreferences.xml 

On Windows:

 %APPDATA%\NetBeans\8.2\config\Editors\text\x-java\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml 

Add the following to the file:

 <entry javaType="java.lang.Integer" name="completion-auto-popup-delay" xml:space="preserve"> <value><![CDATA[0]]></value> </entry> 

Restart NetBeans.

This will set a delay to automatically popup code completion by 0 seconds.

Sources:

+2
source

All Articles