Samir Mangroliya
Samir Mangroliya

Reputation: 40426

Shortcut for cleaning project in Eclipse?

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?

Upvotes: 54

Views: 30769

Answers (5)

Slim Duiker
Slim Duiker

Reputation: 21

In Preferences/General/Keys look for "Build Clean". You can assign a binding for that command. Works for me on Mac OS X Kepler.

Upvotes: 1

Yannis Dran
Yannis Dran

Reputation: 1529

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.

Upvotes: 6

George
George

Reputation: 461

It's quite easy:

  1. Press ALT + P + N.
  2. Release ALT
  3. Enter.

Upvotes: 46

MAC
MAC

Reputation: 15847

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.

Upvotes: 63

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.

Upvotes: 10

Related Questions