You can define your own accelerator (short cut) keys for use in the editor pane. For example, you could define the R key to insert return at the caret position when you press Shift+Ctrl+R.
For details of the accelerator keys that are defined by default, see "Editor Pane Shortcut Keys", earlier in this chapter.
To maintain accelerator keys for the editor
In the Preferences or JADE Installation Preferences dialog, click the Accelerator Keys sheet.
In the list box at the left of the sheet, select the letter to which you want to define an accelerator key or whose existing definition you want to change. (Letters that are reserved for system use are disabled; for example, H and I.)
In the editor pane at the right of the sheet, specify the text that you want to define for the selected letter; for example:
Instruction
Method option
System variable
Expression
Statement
Comment
For example, select the letter F, and then specify
Click the OK button.
When you next access the method editor pane, to insert a value defined for an accelerator key at the caret position, press Shift+Ctrl+x (where the x value is the appropriate accelerator key).
The following table lists examples of the use of accelerator keys.
Key | Keystrokes | Example Inserted Text |
---|---|---|
F | Shift+Ctrl+F | foreach |
G | Shift+Ctrl+G | global.myCompany := |
P | Shift+Ctrl+P | app.printer |
Z | Shift+Ctrl+Z | // Method modified by A. Lackey following code review |