tags:

views:

21

answers:

1

To format a file in the editor, you press Alt+Shift+F. Is there a way for formatting the complete project(s) in NetBeans (6.8, if that makes any difference)?

A: 

Don't know if that's possible, however, you can:

  • open all files in project
  • cycle between them via Ctrl+Tab
  • Alt+Shift+F for each

Or, you can automate this in a netbeans macro.

Christian Sciberras
Thanks. I'm trying to avoid doing it manually; as for the macros in NetBeans, they seem to be confined to the editor context (meaning, the file you're working on right now).
Eldad Mor
Oops, tough luck ;)
Christian Sciberras