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)?
Open the required file. Go to Source | Format Document or press Ctrl+Shift+F.
For windows : Go to Tools > Options > Editor > Code Completion. Select Language Java from dropdown. Auto pop-up on typing any Java identifier part.
Choose Tools | Options. Click Editor in the left panel and select the Indentation tab. Adjust the properties for the indentation engine to your taste.
Mass formatting is supported since NetBeans 7.2. See
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With