Shortcut for cleaning project in Eclipse?
EclipseEclipse Problem Overview
Is there any shortcut for cleaning a project? Or can we create a shortcut for cleaning the project using:
> Window--> Preferences--> Java --> Editor --> Templates?
If yes ,how?
Eclipse Solutions
Solution 1 - Eclipse
To clean android project:
Window -> Preferences -> General -> Keys (Ctrl+Shift+L)
in type filter text write build clean
. There you can bind the key, for ex. Ctrl+Shift+L
.
Solution 2 - Eclipse
It's quite easy:
- Press ALT + P + N.
- Release ALT
- Enter.
Solution 3 - Eclipse
Window -> Preferences -> General -> Keys (Ctrl+Shift+L+L)
In type filter text, type clean. The you will have the possible command and you can assign any short cut you want.
Solution 4 - Eclipse
As George said, it is really easy.
Just keep an eye on underlines coming out when you hit ALT . Then if you follow these underlines, hit P and then N.
Note: No need have to have ALT pressed down or hit Enter at the end.
Solution 5 - Eclipse
In Preferences/General/Keys look for "Build Clean". You can assign a binding for that command. Works for me on Mac OS X Kepler.