Changing assignments for Editor keyboard shortcuts
If the key combinations for the shortcuts do not suit you, you can change them. By default, the Editor has a set of global keyboard shortcuts set. These shortcuts are available no matter what kind of file you are working on in the Editor.
In addition, it is possible to set keyboard shortcuts by individual type of editor (Java, Plain, HTML, and JSP). If you use assign a keyboard shortcut for one of these individual editors that has the same key combination as a global shortcut, the shortcut for the specific editor will override the global shortcut for that editor.
For example, the Ctrl+Shift+f key combination is set as a global keyboard shortcut for reformatting text. If you wanted to use this keyboard shortcut for something else when editing Java files (but keep it the same when editing any other types of files), you could reassign Ctrl+Shift+f to a different action on the property sheet for the Java Editor node.
Note: The Editor's shortcuts are distinct from other IDE shortcuts, which can be configured by selecting Tools | Configure Shortcuts from the main menu.
To change the Editor's global keyboard shortcut assignments:
To change keyboard shortcuts for a specific editor type:
- Choose Tools | Global Options... from the main menu.
- Expand the
Editor Settings node in the Global Options window and select the subnode for the editor type you want to set the shortcut for.
- Select the
Key Bindings property and click on the ... button. This will bring up the Key Bindings custom property editor.
- Follow steps 4 and 5 of the previous procedure.