Download NetBeans!

20060128 Saturday January 28, 2006

Further Search Facilities for NetBeans IDE 5.0

In Send Text from the Editor to Google, I wrote about an extension to Ludo's Google Toolbar that lets you send lines of text to Google, straight from the Source Editor (i.e., no typing needed in the textfield in the toolbar). I've taken it a step further—now the user can select a search engine (Google, WebCrawler, Altavista, and DogPile):

When the user clicks the button in the toolbar, the default browser is opened, the selected search engine is found, and the current line in the Source Editor is sent to it. Eventually the NetBeans Progress API should be incorporated, but, until then, the following dialog box is displayed instead:

One thing I'm going to need to learn (probably from one of Sandip's great modules) is how to select a single word, instead of a line, from the Source Editor. And then I'll add a second button to the toolbar—the user won't only be able to select search engines but also whether the current word or the current line should be sent to the browser.

Jan 28 2006, 10:25:11 AM PST Permalink