Return to site

GET TO KNOW THE SHORTCUTS OF YOUR IDE

· coding

Control + 3 = “Eclipse’s Google” – write “new class” for example.

Control + shift + F = format your code.

Control + 1 = do various actions. For example, invoke a method that does not exist yet and use the shortcut.

Alt + up = moves a line of code to the above line.

Control + shift + R = search any archive you want on your project.

Control + H = search any word you want on your project.

Alt + Shift + R = rename any package, class, method, variable and update all the references.

Configure Eclipse’s format. Change it from 80 characters per line to 120.
Configure save actions too so you can have actions when you save your code on Eclipse.
For example, we can use the command “organize imports” after each code save.