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.
Created attachment 148884 [details] NPSS from slow CC Product Version: NetBeans IDE Dev (Build 20140822-05d033af4090) Java: 1.7.0_67; Java HotSpot(TM) 64-Bit Server VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01 System: Linux version 3.13.0-34-generic running on amd64; UTF-8; en_US (nb) I was waiting 40s for the code completion in JS code which didn't appear during that time. I took a snapshot I'm attaching here for better evaluation. BTW. the completion was invoked within the define block like: define([ 'pages.dt/|' ].... Thanks in advance.
According to the snapshot, there are 5 code completion threads. 4 of them are parking, because are waiting for finishing parsing task, which the one of them is using to compute the code completion items. Unfortunately there is no way how to cancel computing code completion items for languages using CSL, which will solve this problem. I with Tomas will work on it.
Fixed in web-main
Integrated into 'main-silver', will be available in build *201507230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8d8d85d6be0b User: Petr Pisl <ppisl@netbeans.org> Log: #246677 - Slow code completion for the RequireJS string