Format code in Eclipse

android, eclipse

Solution

Press [Ctrl]+[Shift]+F to auto format the java code in Eclipse.

Problem

I have typed code in Java for Android in Eclipse. The formatting is not nice. Is there any way I can automatically format it using keyboard shortcuts? Any help will be highly regarded...

Original source

Related problems