I have added a new section to the NetBeans Code Completion Tutorial
. The section describes how to implement the scenario I blogged about yesterday. When you work through it all, you too will be able to call a web service to fill the code completion box. Obviously, all the shortcomings of web services are applicable here. For one thing, if the web service is down, or if the owner removes it, you have no more definitions in the code completion box. Also, you need to be online to make use of the service. (Maybe an option needs to be added to the Options window, so that the user can specify whether they want the code completion box to poll the web service. No point for it to do that if you're not online.) On top of all that, this feature slows code completion down a bit. However, if you're willing to live with all of this, this is a pretty cool feature to have in your code completion implementation.
Any and all comments on the tutorial will be warmly received.