This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245081

Summary: In NetBeans code completion is slow on large projects
Product: editor Reporter: Diton
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: apsolut, nigjo_iqn, t_gergely
Priority: P1    
Version: 8.0   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: message.log file

Description Diton 2014-06-16 11:28:15 UTC
I use a translator, if something is wrong, correct me.

Choose my environment for Java programming before and decided to hold a serious comparative testing using different IDE. For the experiment, i opened the file in NetBeans 7000+ arbitrary strings and checked the work function autocompletion. It turned out that at such length file NetBeans very long trying to open tips - i have a "Wait" lasted until ~30 seconds! After that, there was even a proposal to send a bug report, since IDE noticed that prompts inquiry lasted too long. When you call autocompletion in Eclipse such problems did not exist, there is a hint displayed immediately.

Is it possible in future versions of the program to accelerate the display suggestions for large file sizes, that they appear as fast as in Eclipse? NetBeans i liked more than the Eclipse. You can run it right everywhere, Eclipse uses SWT. In addition, it is fully translated into Russian and Eclipse only partially.
Comment 1 apsolut 2014-12-02 05:31:41 UTC
Created attachment 150828 [details]
message.log file

When i open NB (tested in 8.0.1 then updated to 8.0.2) and open HTML file, start using Code Templates all is good, when i open .js file (700lines) - and use Code Templates netbeans dont respond 20seconds... 

The first time i exprienced this was when i opened Code Templates, opened .js file and started using CT , first 2-3 times all went good, after that it get lagg.. - if i go back to html file
all is good i can use CT and they are fast... if i get back to .JS file (multiple files tested) and try to use Code Templates shortcodes- then again lagg... 

in HTML codes are working fine..
Comment 2 t_gergely 2017-06-06 10:27:44 UTC
NukemBy explained a cause of this problem here:
https://netbeans.org/bugzilla/show_bug.cgi?id=250470#c10