Reputation: 5525
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)?
Upvotes: 24
Views: 10037
Reputation: 4386
Select the folder you want to indent.
Then, go (in netbeans menu) to source / format
Upvotes: 27
Reputation: 2255
Mass formatting is supported since NetBeans 7.2. See
Upvotes: 24
Reputation: 19918
Select project or subfolder node in Projects window and press Alt+Shift+F.
Upvotes: 7