Shortcut for cleaning project in Eclipse?

Eclipse

Eclipse 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:

  1. Press ALT + P + N.
  2. Release ALT
  3. 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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSamir MangroliyaView Question on Stackoverflow
Solution 1 - EclipseMACView Answer on Stackoverflow
Solution 2 - EclipseGeorgeView Answer on Stackoverflow
Solution 3 - EclipseDamian Leszczyński - VashView Answer on Stackoverflow
Solution 4 - EclipseYannis DranView Answer on Stackoverflow
Solution 5 - EclipseSlim DuikerView Answer on Stackoverflow