Eclipse Shortcuts and Other Tips

Type sysout, then press  "Ctrl + Space"  => System.out.println();


Ctrl + / => Comment / uncomment line or selection ( adds '//' )


Ctrl + Shift + F => Auto format all code (with proper indentation)


Running program

When you use an editor to change something, the change doesn’t take place immediately. Save (Ctrl+S) your code before running it. 

Remove Block Comment after Formatting

http://stackoverflow.com/questions/4598002/cannot-remove-block-comment-in-eclipse-after-formatting

Last modified: Monday, 7 November 2016, 10:31 AM