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



Eclipse Cookbook
Inside XML (Inside (New Riders))
ISBN: 596007108
EAN: 2147483647
Year: 2006
Pages: 232
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net