========================== Eclipse keyboard shortcuts ========================== First published at 12/31/2017 on https://defkey.com/eclipse-oxygen-ide-java-shortcuts Eclipse is an integrated development environment (IDE) used in programming, and is most widely used Java IDE. It contains a base workspace and a plug-in system for customizing the environment. Eclipse has 118 shortcuts and we have listed all of them below. Managing files and projects --------------------------- Ctrl + N Create a new project with Wizard Ctrl + Alt + N Create a new project, file, class, etc. Alt + F then . Open project, file, etc. Ctrl + Shift + R Open resource file, folder or project Alt + Enter Show and access file properties F5 Refresh content of selected element within local file system Ctrl + S Save currently open file Ctrl + Shift + S Save all open files Ctrl + W Close currently open file Ctrl + Shift + W Close all files Editor ------ F12 Jump to the editor window Ctrl + Page Down Switch to previous editor Ctrl + Page Up Switch to next editor Ctrl + M Maximize or restore current editor window (also works with other windows) Ctrl + E Show the list of open editors Ctrl + F6 Show the list of open editors, but switch immediately when you release Ctrl Alt + Left arrow / Right arrow Go to previous / next editor windows Alt + - Open Editor Window Option menu Ctrl + F10 Show view menu Ctrl + F10 then N Show / hide line numbers Ctrl + Shift + Q Show or hide the diff. column on the left (column that indicates changes since last save) Ctrl + Shift + + Zoom in Ctrl + Shift + - Zoom out Navigation in editor window --------------------------- Home Jump to beginning of indention. Press twice to jump to beginning of the line End Jump to end of line Ctrl + Home Jump to beginning of source Ctrl + End Jump to end of source Ctrl + Left arrow / Right arrow Jump one word to the left / right Ctrl + Shift + Up arrow / Down arrow Jump to previous / next method Ctrl + L Jump to line number Ctrl + Q Jump to last edited location Ctrl + . Jump to previous / next compiler syntax warning or error Ctrl + , Jump to previous / next compiler syntax warning or error Ctrl + Shift + P With a bracket selected: Jump to matching closing or opening bracket Ctrl + [ Collapse / expand current method or class Ctrl + ] Collapse / expand current method or class Ctrl + Num - Collapse / expand current method or class Ctrl + Num * Collapse / expand all methods or classes Ctrl + Up arrow / Down arrow Scroll editor without changing cursor position Alt + Page Up Previous sub-tab Alt + Page Down Next sub-tab Selecting text -------------- Shift + Left arrow / Right arrow Expand selection by one character to the left or right Ctrl + Shift + Left arrow / Right arrow Expand selection to the next or previous word Shift + Up arrow / Down arrow Expand selection by one line up or down Shift + End Expand selection to end of line Shift + Home Expand eslection to beginning of line Alt + Shift + Up arrow Expand selection to current element Alt + Shift + Left arrow / Right arrow Expand selection to previous or next element Alt + Shift + Down arrow Reduce previously expanded selection by one step Editing text ------------ Ctrl + C Copy Ctrl + X Cut Ctrl + V Paste Ctrl + Z Undo last action Ctrl + Y Redo last undone action Ctrl + D Delete line Alt + Up arrow / Down arrow Move current line or selection up or down Ctrl + Alt + Up arrow / Down arrow Duplicate current line or selection up or down Ctrl + Del Delete next word Ctrl + Backspace Delete previous word Shift + Enter Enter line below current line Shift + Ctrl + Enter Enter line above current line Insert Switch between insert and overwrite mode Shift + Ctrl + Y Convert selection to lowercase Shift + Ctrl + X Convert selection to uppercase Search and replace ------------------ Ctrl + F Open find and replace dialog box Ctrl + K Find previous occurence of the search term Ctrl + Shift + K Find next occurence of the search term Ctrl + H Search Workspace (Java search, Task search, and File search) Ctrl + J Incremental search forward Ctrl + Shift + J Incremental search backwards Ctrl + Shift + O Open a resource search dialog to find any class Indentions and comments ----------------------- Tab Increase indent of selected text Shift + Tab Decrease indent of selected text Ctrl + I Correct indention of selected text or current line Ctrl + Shift + F Auto format all code in editor using code formatter Ctrl + / Comment / uncomment line or selection (add //) Ctrl + Shift + C Toggle comments Ctrl + Shift + / Add block comment arount selection (add /...*/) Ctrl + Shift + \ Remove block comment Alt + Shift + J Add element comment (add /** ... */) Editing source code ------------------- Alt + Shift + S Open "Source" menu Ctrl + Space Open content assist (e.g. show available methods or field names) Ctrl + 1 Open quick fix and quick assist Alt + / Suggest word completion (after typing at least one letter). Press repeatedly until reaching correct name Ctrl + Shift + Insert Deactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.) Code information ---------------- Ctrl + O Show code outline or structure F2 Open class, method, or variable information (show as tooltip text) F3 Open declaration: Jump to Declaration of selected class, method, or parameter F4 Open Type Hierarchy window for selected item Ctrl + T Show or open Quick Type Hierarchy for selected item Ctrl + Shift + T Open type in hierarchy Ctrl + Alt + H Open call hierarchy Ctrl + Shift + U Find occurrences of expression in current file Ctrl + Move the mouse Open declaration or implementation Refactoring ----------- Alt + Shift + R Rename selected element and all references Alt + Shift + V Move selected element to other class or file (with complete method or class selected) Alt + Shift + C Change method signature (with method name selected) Alt + Shift + M Extract selection to method Alt + Shift + L Extract local variable: Create and assign a variable from selected expression Alt + Shift + I Inline selected local variables, methods or constants when possible (replaces variable with its declarations/ assignment and puts it directly into the statements) Running and debugging --------------------- Ctrl + F11 Save and launch application F11 Debug F5 Step into function F6 Next step (line by line) F7 Step out F8 Skip to next breakpoint Other ----- Ctrl + F7 Switch forward between panels. Useful for switching back and forth between Package Explorer and Editor Ctrl + Shift + F7 Switch backward between panels. Useful for switching back and forth between Package Explorer and Editor Ctrl + P Print F1 Open Eclipse help Shift + F10 Show context menu Team (SVN Subversive) --------------------- Ctrl + Alt + S Synchronize with repository Ctrl + Alt + C Commit Ctrl + Alt + U Update Ctrl + Alt + D Update to revision Ctrl + Alt + E Merge Ctrl + Alt + T Show properties Ctrl + Alt + I Add to svn:ignore Last modified on (UTC): Thursday, April 2, 2020 Defkey © All rights reserved.