It would be useful to format the code in a package and/or a project.
Currently, I can do it file by file only; maybe I'm missing it.
No, you are not missing it and yes, it makes sense to add these actions. Thanks for your report.
I uploaded a patch for this issue and issue #25377. (See http://www.netbeans.org/issues/show_bug.cgi?id=25377 for
Waiting for input :)
*** Issue 115695 has been marked as a duplicate of this issue. ***
*** Bug 193366 has been marked as a duplicate of this bug. ***
Was fixed in 7.2. See also http://wiki.netbeans.org/NetBeans_72_NewAndNoteworthy#Reformat_Multiple_Sources
*** This bug has been marked as a duplicate of bug 67397 ***