Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Formatting a complete project in NetBeans

Tags:

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)?

like image 852
Eldad Mor Avatar asked Jul 11 '10 16:07

Eldad Mor


People also ask

How to Format Document at NetBeans?

Open the required file. Go to Source | Format Document or press Ctrl+Shift+F.

How to add auto completion in NetBeans?

For windows : Go to Tools > Options > Editor > Code Completion. Select Language Java from dropdown. Auto pop-up on typing any Java identifier part.

How do I change indentation in NetBeans?

Choose Tools | Options. Click Editor in the left panel and select the Indentation tab. Adjust the properties for the indentation engine to your taste.


1 Answers

Mass formatting is supported since NetBeans 7.2. See

  • https://blogs.oracle.com/geertjan/entry/mass_format_in_netbeans_ide
  • https://www.youtube.com/watch?v=EeU_KZC5lI0
like image 181
Ben Avatar answered Oct 09 '22 18:10

Ben