Professional Documents
Culture Documents
1 Keyboard Shortcuts
Editing
Ctrl-Space Ctrl-M Esc Shift-Space Code completion Select next parameter Close code completion Enter a space without expanding an abbreviation Alt-F1/Shift-F1 Display/search Javadoc Alt-Shift-I Import class Ctrl-I Override method Alt-U, then G Append get to identifier Alt-U, then S Append set to identifier Alt-U, then I Append is to identifier Ctrl-Shift-F Reformat selection Ctrl-D/Ctrl-T Shift one tab to the left/right Ctrl-Shift-T Comment out lines ("//") Ctrl-Shift-D Remove comment out lines ("//") Ctrl-Backspace/Del Delete previous/current word Ctrl-E Remove the current line Ctrl-J, then S/E Start/end recording macro Ctrl-[ Insert point to matching bracket Ctrl-^ Ctrl-[ on French/Belgian keyboard Ctrl-Shift-J Insert internationalized string Ctrl-NumPadCollapse (hide) a block of code Ctrl-NumPad+ Expand a collapsed block of code Ctrl-Shift-NumPad- Collapse all code blocks Ctrl-Shift-NumPad+ Expand all code blocks Ctrl-R Reload form Alt-G Ctrl-F3 Alt-F7 Ctrl-Alt-F Alt-Shift-H Ctrl-F2 F2/Shift F2 Alt-L Alt-K Alt-Shift-L Alt-Shift-K Go to declaration Search for word at insertion point Find usages Open Usages window Toggle search result highlights Add/remove bookmark Next/previous bookmark Next in jump list (this file) Previous in jump list (this file) Next in jump list (all files) Previous in jump list (all files)
Debugging
F5 Ctrl-Shift-F5 Ctrl-Shift-F6 Shift-F5/Ctrl-F5 F4 F7/F8 Alt-Shift-F7 Ctrl-Alt-Up Ctrl-Alt-Down Shift-F8 Ctrl-F8 Ctrl-Shift-F8 Ctrl-Shift-F7 Ctrl-Shift-5 Alt-Shift-1 Alt-Shift-2 Alt-Shift-3 Alt-Shift-4 Alt-Shift-5 Alt-Shift-6 Ctrl-Shift-6 Alt-Shift-7 Alt-Shift-8 Start debugging main project Start debugging current file Start debugging JUnit test on file Stop/Continue debugging session Run to cursor location in file Step into/over Step out Go to called method Go to calling method Add/remove line breakpoint Toggle breakpoint New breakpoint New watch Switch to HTTP Monitor Switch to Local Variables window Switch to Watches window Switch to Call Stack window Switch to Classes window Switch to Breakpoints window Switch to Sessions window Switch to Execution window Switch to Threads window Switch to Sources window
Searching
Ctrl-Shift-0 Ctrl-L Ctrl-K Ctrl-Shift-P Ctrl-F/H F3 Shift-F3 Alt-Shift-O Switch to Search Results window Word match - forward Word match - back Find in projects Find/replace in file Find next in file Find previous in file Go to class
Choose Tools > Options from the main window. Expand Editing and Editor Settings. Select the editor. Click the ellipsis (...) button for Abbreviations. Choose Tools > Options from the main window. Expand Editing and Editor Settings. Select the editor. Click the ellipsis button for Key Bindings. Choose Tools > Keyboard Shortcuts from the main window.