Customizing Java code completion
Changing the key bindings for code completion
Just as you can with other Editor shortcuts, you can change the shortcut assignments for Java code completion.
To change the keyboard shortcut assignments for code completion:
- Choose Tools | Options... from the main menu.
- In the Options window, expand the
Editor Settings node and select Java Editor.
- On the property sheet, select the
Key Bindings property and click on the ... button. This will bring up the Key Bindings custom property editor.
- In the custom property editor, select the shortcut assignment you want to change (
completion-show or completion-hide) and press Edit.
- In the Edit dialog box that appears, enter the new key for the shortcut and press OK.
Setting the code completion box delay
You can set the time it will take for the code completion box to automatically pop up.
To set the code completion delay:
- In the Options window, select
Editor Settings / Java Editor and set the Delay of Completion Window Auto Popup property to the delay you would like in milliseconds.
Disabling code completion
To disable code completion:
- In the Options window, select
Editor Settings / Java Editor and set the Auto Popup Completion Window property to False.