Sometimes a specific task need to be done again and again. Every time finding the entry in the menu is frustrating. A simple key combination can be assigned to that task, so that the task can be easily invoked by pressing certain key.

How to do:

Select the menu entry Window -> Preference, Preference window will open then go for the General -> Keys and set the key combination to the eclipse tasks.