DekGenius.com
Previous Section  < Day Day Up >  Next Section

Recipe 2.11 Creating a Key Binding

2.11.1 Problem

You find yourself performing a specific task, such as adding a bookmark or adding tasks to the task list, over and over. You want to assign a simple key combination to such tasks.

2.11.2 Solution

You can customize Eclipse by adding key combinations to dozens of Eclipse tasks.

2.11.3 Discussion

To see which tasks are available, select Window Preferences Workbench Keys, and choose the task you want to automate, such as adding a bookmark. Then choose a key sequence you want to associate with the task, as shown in Figure 2-9.

Figure 2-9. Assigning a key combination to a task
figs/ecb_0209.gif


    Previous Section  < Day Day Up >  Next Section