Keys
On the Keys page, you can
customize the function of the keyboard in IDA-STEP (see Figure 1). Within
Eclipse, key strokes and key sequences are assigned to invoke
particular commands.
Keys
A key stroke is the
pressing of a key on the keyboard, while optionally holding down
one or more of these modifier keys: Ctrl
, Alt
(Option
on the Macintosh), Shift
, or Command
(only on the Macintosh.) For example, holding down Ctrl
then pressing A
produces the key stroke Ctrl+A
.
The pressing of the modifier keys themselves do not constitute key
strokes.
A key sequence is one or
more key strokes. Traditionally, Emacs assigned two or three key
stroke key sequences to particular commands. For example, the
normal key sequence assigned to Close All
in emacs
is Ctrl+X Ctrl+C
. To enter this key sequence, one
presses the key stroke Ctrl+X
followed by the key
stroke Ctrl+C
.
A key binding is the
assignment of a key sequence to a command.
Figure 1. Keys
preferences page
- Scheme combo box
contains a set of bindings. Choose the scheme you are most
comfortable with by changing the Scheme setting on the keys preference page.
- Default scheme
contains a general set of bindings, in many cases recognizable
as traditional key sequences for well known commands. For
instance,
Ctrl+A
is assigned to Select
All
, and Ctrl+S
is assigned to Save
.
- Emacs scheme
contains a set of key bindings familiar to users of Emacs. For
instance,
Ctrl+X H
is assigned to Select
All
, and Ctrl+X S
is assigned to Save
.
The Emacs scheme is not a complete set of bindings
like the Default scheme. Rather, it borrows from the
Default scheme where possible, only defining explicit
Emacs-style bindings where they vary from the Default
scheme. Generally, only well known commands like Select
All
, Save
, etc. have specific Emacs key
sequences associated with them.
If you choose the Default scheme, all Emacs
bindings are ignored. If you choose the Emacs
scheme, explicit Emacs-style key sequence assignments take
precedence over any conflicting assignments in the Default
scheme.
- Filter field above the table with keys parameters. Enter a
filter text to filter out commands relevant to the entered text.
- The table contains read only information:
- Command - a name of
the command, for which the key sequence is assigned.
- Binding - indicates
a key sequence, which is assigned to a particular command.
- When - the context
of IDA-STEP. This context is usually determined by the active
part, but it can be influenced by the active window or
dialogue as well. If the active part does not choose a
particular context, the workbench will set the active context
to In Dialogs and Windows. Key bindings can vary
based on the current context of IDA-STEP:
- Editing Text,
- In Dialogs,
- In Dialogs and Windows,
- In Windows.
- Category -
identifies the category of IDA-STEP context (Editor (for
example 'GD&T'), Window, File and etc.).
- User - indicates
that this is a user binding by displaying a U. If
there was a conflict with another key, this column would also
display a C.
Note. In case of the conflict, the conflicted items
are listed it the Conflicts
table (see below).
- Copy Command button -
press this button to create a second command entry for you to
bind another key to.
- Unbind Command button
- press this button to remove a key sequence (i.e. Binding value) for the
selected command.
- Restore Command button
- press this button to delete the binding. Note. All copies of the
command will be removed (if any is previously created).
- Name field (read
only) - this filed displays a name of the command, selected in
the table.
- Descriptions multi
line field (read ) - presents additional information about the
command, which name is defined in the Name field.
- Binding field - bind
the command by putting focus in the Binding text box and pressing key combination
(for example 'CTRL+5') like you would if you were executing the
command.
- When combo box -
select a context value in the drop down list.
- Conflicts table - if
the user sets a key binding and creates a conflict, the
conflicting bindings will be displayed in the conflicts list.
This can be used to navigate between conflicting keybindings so
that they can be changed. These types of conflicts can be
resolved by explicitly assigning the key sequence to one of the
commands, or remove it from the other.
See Figure 2:
There are listed two commands in the Conflicts list. The New Editor command has a user assigned (you
can see U letter in
the Users column) key
stroke. The Undo command
has a predefinde binding. The C
letter in the Users columns
informs about the conflict. Click on an applicable command in
the Conflicts list and
resolve the conflict by removing the binding or adding a new
sequence of keys into the Binding
field.
Figure 2. Conflicts list
with defined conflicted bindings.
- Filters... button
- filter out a list of commands in the table according to
the category of IDA-STEP contexts. The When Context Filters
window appears after the filter button is pressed (see Figure 3):
- Filter action set
contexts - select this option not to show
commands with action set contexts,
- Filter internal
contexts - select this option not to show
commands with internal contexts,
- Filter uncategorized
commands - select this option not to show
commands with an unrecognized context.
Note. By default,
all options are selected.
- Use OK button
to confirm selections.
Figure 3. When Context
Filters
- Export CSV...
button - the list of binded command can be saved in
external file of CSV format. Press this button, specify
a filen name and a location in the file system for, and
press Save button
in the appeared Save
as dialog window.
For more detailed information, refer the Eclipse documentation: Workbench
User Guide
> Reference
> Preferences
-> Keys.
To top
Copyright © 2007-2012 LKSoftWare GmbH. All
Rights Reserved.
JSDAI is a registered trademark of LKSoftWare GmbH.
|