Geertjan's Blog

  • June 18, 2012

Smarter Search Results in NetBeans IDE 7.2

Geertjan Wielenga
Product Manager

After you search your code using NetBeans IDE (using Ctrl-F for "Find" or Ctrl-H for "Replace"), you see the Search Results window, which looks like this:

At least, the above is how it looks in NetBeans IDE 7.2. Before that, you didn't have all those extra columns (which can be displayed in the Search Results window after clicking the small button top right in the view) and you also didn't have the quick search (which is invoked by typing directly into the Search Results window), as can be seen here:

So, the Search Results window now provides a lot more info than before. Being able to know the path to a file I've found, as well as the last modification date, file size, and the number of matches within the file, is useful at the end of a search process.

In the NetBeans IDE 7.2 New & Noteworthy, the above changes are described in the Utilities section, as well as in the Quick Search in OutlineView section, where you can read that these are generic solutions that can be used in your own OutlineViews. Other OutlineViews in NetBeans IDE 7.2, such as the Debugger window, now also have these new features.

A related article worth reading is Beefed Up Code Navigation Tools in NetBeans IDE 7.2

Join the discussion

Comments ( 5 )
  • Vidhyadharan Wednesday, June 27, 2012

    Nice i love this features.

  • guest Tuesday, September 4, 2012

    I miss the old look where I could see number of matches and path immediately after file name.

    The new look is much wider and (as I don't have 30 inch screen) I cannot see whole path. When I widen the "Path" column, it needlessly narrows file contents. :(

    Is there any way (extension?) to get the old, more compact look?

    This the only thing that's annoying me in Netbeans 7.2.

  • rcc Monday, October 29, 2012

    I also cannot come at piece with this new arrangement. I find the old one more clean and concise. Anyway, glad I came up on this, it's the only place that I find a mention of this change that seems to me quite disruptive and I'm really curious of the rationale behind it. I sure hope it's not just feature bloat, although it kind of looks like. I know they changed some things in the search functionality itsef, but the UI changes, I don't find them that good.

    All this being said, I'm off to Netbeans forums to properly complain.

  • Geertjan Monday, October 29, 2012

    Hm. Don't really understand the problem. You can remove any of the columns, are you aware of that?

  • Geertjan Monday, October 29, 2012

    Plus, if you don't like the order, just move the columns...

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.