Java Reference
In-Depth Information
12.4.4
Creating a new keymap
The keymaps included with
IDEA
are listed in grey, indicating that they aren't
editable. To customize a keymap, you first create a copy of an existing keymap
and then edit it to your liking. Select the keymap you want to start from, and click
the
Copy
button. You'll be asked to provide a name for your new keymap, and you
can elect to make it the active keymap. You can also delete a keymap (other than
the default keymaps) by selecting it and clicking the
Delete
button.
12.4.5
Defining keyboard shortcuts
All the actions for which you can create shortcuts are organized in the keymap
editor by type. Any entry shown in blue text has been modified from its parent
keymap or, in the case of the categories, contains modified entries. The catego-
ries are as follows:
Editor Actions
—Editor-related keys such as navigation, selection, dele-
tion, and so on
■
Main menu
—All the actions available through the main menu, including
any plugins that have created new menus or added entries to the exist-
ing menus
■
Version Control Systems
—Keys that handle basic
VCS
operations, such as
check-in, check-out, revert, and so on
■
Ant Targets
—If you're using the Ant build tool in your project, lets you
assign keystrokes to any specific target in any of your Ant build files
■
Debugger Actions
—Debugger-related keys, such as freeze, resume, and
watch manipulation
■
GUI
Designer
—
GUI
designer-related keys, such as layout commands and
the data-binding wizard
■
Bookmarks
—Keystrokes for setting, unsetting, returning to, and listing
bookmarks
■
External Tools
—Lets you assign shortcuts to any external tools you've
defined (see chapter 13)
■
Macros
—Keystrokes for running user-created macros
■
Quick Lists
—Keystrokes for bringing up user-made short menus of use-
ful commands
■
Other
—A dumping ground for miscellaneous actions that don't fall into
the other categories
■