Power Boost for Alt-Shift-F in NetBeans IDE 7.2

I recently made a YouTube movie about the new "bulk reformat" feature in NetBeans IDE 7.2:


At the end of that movie, I mentioned that Alt-Shift-F, which is the key combination for reformatting, only works in editor documents, not when nodes (e.g., project nodes, such as shown below) are selected:

However, there's been a very cool enhancement to this feature:


This enhancement is not in NetBeans IDE 7.2 Beta, but it will be in the final NetBeans IDE 7.2 release. It is already available in the development builds, such as a build I downloaded yesterday:

As you can see, when you look at the "Format" menu item in the list of menu items above, the Alt-Shift-F key combination is available even when nodes are selected. What does that mean? That means that in NetBeans IDE 7.2 (but not yet in NetBeans IDE 7.2 Beta), you'll be able to select multiple projects, or multiple packages, or multiple folders, or combinations of these, and then you'll be able to press Alt-Shift-F on your keyboard, after which ALL the files within the selected nodes will be reformatted, all at the same time.

Now that's pretty cool and make the IDE even more comfortable and intuitive to work in.


Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« July 2015