How do you auto-format code in Eclipse?
On Windows and Linux : Ctrl + Shift + F
On Mac : ? + ? + F
(Alternatively you can press Format in Main Menu > Source)
Format
1.4m articles
1.4m replys
5 comments
57.0k users