How do I assign a key sequence to a particular command?
Author: Deron Eriksson
Description: This tutorial shows how to assign a key sequence to a particular command in Eclipse
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 1.5.4


Page:    1 2 >

In EclipseSW, sometimes you find yourself performing the same actions over and over. Thankfully, you can assign a key sequence to a particular action, or 'command'.

As a JavaSW web application developer, I find myself starting and terminating my Debug Configuration many, many times a day. Typically, I'll select the particular Debug Configuration that I'm interested in, which starts it and makes it the 'last-launched' Debug Configuration after it has been stopped.

Start Debug Configuration

After being stopped, the last-launched Debug Configuration can be run either by clicking on the bug icon, or by clicking F11, which is the shortcut key for starting the last-launched Debug Configuration.

Debug Configuration started

The red Terminate button can be clicked to terminate the current Debug configuration.

Terminate Debug Configuration

In my version of Eclipse there is no shortcut key combination assigned to terminate the current Debug configuration. So, let's create one.

(Continued on page 2)

Page:    1 2 >