CodeInsight Keystrokes dialog box

The CodeInsight Keystrokes dialog box displays two default keystrokes for each CodeInsight feature.

To customize a keystroke,

Default

The Default button returns all CodeInsight keystrokes to the default JBuilder values.

Select Keystroke dialog box

Select Event Type

Determines when the keystroke results in action: when the keys are initially pressed, when the keys are released, or simply when the keys are typed.

For more information about key events, see KeyEvent class.

Type Any Keystroke Combination

Type the keystroke you want to assign to the CodeInsight feature.

Properties

Adds modifiers to the keystroke using the Properties options. For example, checking the Ctrl checkbox adds the Ctrl modifier to the keystroke in the Type Keystroke field.

Key code

Instead of entering a keystroke in the Type Keystroke field, you can select the virtual key code for the keystroke you want from the Key Code drop-down list. This allows you to specify a keystroke you might not have on your keyboard. When you select a key code, the selected keystroke appears in the Type Keystroke field. You can then further modify your selection using the Properties options.

For more information about virtual keys, see KeyEvent class.