Download NetBeans!

20071225 Tuesday December 25, 2007

More Power to Code Completion

I put a new plugin in the Plugin Portal, under the name Spiced Up Code Completion. It lets you supplement the code completion box (for all file types) with a list of new words. You can decide what the new words are, which could be code or could be actual words, in whatever language you like. The list of supplemental code completion items is set in the Options window. And then the words end up in the code completion box, as shown below for three different file types (in this case the words come from an English dictionary text file):

es

The third screenshot above shows that the new words end up below all the existing ones (so that they don't get in the way, especially since they're unlikely to be applicable to all file types at the same time). The above is the result of a tutorial I wrote sometime ago, but that hasn't been updated to 6.0 yet. However, aside from its value as a tutorial sample, I think it could also be useful to users in general, i.e., those who don't want to build the whole plugin from scratch via a tutorial. Hope it proves useful. It could be expanded in various ways.

Happy Christmas.

Dec 25 2007, 04:16:02 AM PST Permalink