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.
This bug was originally marked as duplicate of bug 213605, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 (Build 201302132200) VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02 OS: Windows 7 Maximum slowness yet reported was 32006 ms, average is 32006
Created attachment 133042 [details] nps snapshot
AWT EDT (inside GsfReformatTask) waits for the parser lock which is held by PHPHintsProvider.computeErrors(). Please consider to make the PHPHintsProvider cancellable.
Svato, is it possible to make csl.api.HintsProvider cancellable?
Too much queries to index when resolving inherited elements (reporter has probably really big type inheritance).
The HintsProvider already has a cancel() method, but the method is not actually called. I implemented calling in Hints/Selection/ tasks in rev. http://hg.netbeans.org/jet-main/rev/94e92ea55bfa
Integrated into 'main-golden', will be available in build *201305182300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/94e92ea55bfa User: Svata Dedic <sdedic@netbeans.org> Log: #227911: CSL forwards cancel request to the HintsProvider being just executed
PHP Hints are cancellable. Probably it could work now, when CSL passes cancel :) Can't do more (maybe rewriting index querying should help...it's planned for some of next releases).