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 144445 [details] csl patch v1 Into nb80 goes new interface CodeCompletionHandler2 with method documentElement(). I would like to extend this new method for parameter cancel which could signal to the client that the originated request was already cancelled and that it can stop the computation. This should resolve performance issues where is code completion blocked by the request for obtaining documentation. I'm attaching patch with changes to the csl module and patch with changes in clients (php.editor, php.latte, php.twig, javascript2.editor) including usage of the extended API in the web.el module.
Created attachment 144446 [details] clients patch v1
Created attachment 144447 [details] csl patch v2 Added @NonNull annotation to the parameter.
Created attachment 144449 [details] clients patch v2
OB01: Please, just add some better explanation how should be that Callable used, implemented. Imho for implementators, this pattern will not be clear enough ;) Thanks.
Created attachment 144478 [details] csl patch v3 (In reply to Ondrej Brejla from comment #4) > OB01: Please, just add some better explanation how should be that Callable > used, implemented. Imho for implementators, this pattern will not be clear > enough ;) Thanks. JavaDoc updated to be clearer to clients. Thanks.
If there are no other objections, I'm going to integrate the patch on Monday. Thank you for reviewing.
Thanks for the review. Integrated in web-main #1cf3259c35e5.