Professional Documents
Culture Documents
win
Account My Shortcuts Login/ Register Platforms: Linux Shortcuts Mac OS Shortcuts Windows Shortcuts Web Applications New Windows Shortcuts: ALT+[Digits] Symbol Codes iTunes IntelliJ Windows XP Run Commands Site: About Discuss Add Page Request Page Give Feedback
Eclipse Shortcuts
Uploaded by bernd, updated on 6/14/2013 by csscouter Platform: Windows/ English Table of Contents: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Manage Files and Projects Editor Window Navigate in Editor Select Text Edit Text Search and Replace Indentions and Comments Editing Source Code Code Information Refactoring Run and Debug The Rest PDF Print Hide all Show all
http://www.shortcutworld.com/en/win/Eclipse.html
1/9
3/11/2014
1. Manage Files and Projects Ctrl + N Ctrl + Alt + n Alt + f , then . Ctrl + Shift + r Alt + Enter Ctrl + s Ctrl + Shift + s Ctrl + w Ctrl + Shift + w F5 Create n ew project using the Wizard Create n ew project, file, class, etc. Open project, file, etc. Open R essource (file, folder or project) Show and access file properties S ave current file S ave all files Close current file Close all files Refresh content of selected element with local file system up 2. Editor Window Focus/ cursor must be in Editor Window for these to work. F12 Ctrl + Page Down / Ctrl + Page Up Jump to Editor Window Switch to next editor / switch to previous editor
2/9
http://www.shortcutworld.com/en/win/Eclipse.html
3/11/2014
M aximize or Ctrl + m un-maximize current Editor Window (also works for other Windows) Show list of open Editors. Ctrl + e Use arrow keys and enter to switch Show list of open Editors. Similar to Ctrl + F6 / Ctrl + Shift + F6 ctrl + e but switches immediately upon release of ctrl Alt + Arrow Left / Alt + Arrow Right Go to previous / go to next Editor Window Open Editor Window Option menu Show view menu (features available on left vertical bar: breakpoints, bookmarks, line numbers, ) Show or hide line n umbers Show or hide the diff column on the left (indicates changes since last save) up 3. Navigate in Editor Jump to beginning / jump to end of indention.
http://www.shortcutworld.com/en/win/Eclipse.html 3/9
Alt + -
Ctrl + F10
Ctrl + Shift + q
3/11/2014
Home / End
Press home twice to jump to beginning of line Jump to beginning / jump to end of source Jump one word to the left / one word to the right Jump to previous / jump to next method Jump to L ine Number. To hide/show line numbers, press ctrl + F10 and select 'Show Line Numbers'
Ctrl + l
Ctrl + q
Jump to last location edited Jump to next / jump to previous compiler syntax warning or error With a bracket selected: jump to the matching closing or opening bracket Collapse / Expand current method or class
4/9
Ctrl + . / Ctrl + ,
Ctrl + Shift + p
http://www.shortcutworld.com/en/win/Eclipse.html
3/11/2014
Collapse / Expand all methods or classes Scroll Editor without changing cursor position up
4. Select Text Expand selection by one character to the left / to the right Expand selection to next / previous word Expand selection by one line down / one line up Expand selection to end / to beginning of line Select a ll Expand selection to current element (e.g. current oneline expression or content within brackets) Expand selection to next / previous element Reduce previously
http://www.shortcutworld.com/en/win/Eclipse.html 5/9
Ctrl + a
3/11/2014
5. Edit Text Ctrl + c / Ctrl + x / Ctrl + v Ctrl + z Ctrl + y Ctrl + d Alt + Arrow Up / Arrow Down Ctrl + Alt + Arrow Up / Ctrl + Alt + Arrow Down / Ctrl + Delete Ctrl + Backspace Shift + Enter Shift + Ctrl + Enter Insert Shift + Ctrl + y Shift + Ctrl + x Cut, copy and paste Undo last action Redo last (undone) action D elete Line Move current line or selection up or down Duplicate current line or selection up or down Delete next word Delete previous word Enter line below current line Enter line above current line Switch between insert and overwrite mode Change selection to all lower case Change selection to all upper case up 6. Search and Replace Ctrl + f Open f ind and replace dialog Find previous / find next occurrence of search term (close find window first) Search Workspace (Java Search, Task Search, and File Search) Incremental search forward / backwards. Type search term after pressing
6/9
Ctrl + h
3/11/2014
ctrl + j , there is now search window Ctrl + Shift + o Open a resource search dialog to find any class up 7. Indentions and Comments Tab / Shift + Tab Ctrl + i Ctrl + shift + f Ctrl + / Ctrl + Shift + / Ctrl + Shift + Alt + Shift + j Increase / decrease indent of selected text Correct i ndention of selected text or of current line Auto f ormat all code in Editor using code formatter Comment / uncomment line or selection ( adds '//' ) Add Block Comment around selection ( adds '/... */' ) Remove Block Comment Add Element Comment ( adds '/** ... */') up 8. Editing Source Code Ctrl + Space Ctrl + 1 Opens Content Assist (e.g. show available methods or field names) Open Quick Fix and Quick Assist Propose word completion (after typing at least one letter). Repeatedly press alt + / until reaching correct name Ctrl + Shift + Insert Deactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.) up 9. Code Information Ctrl + o F2 Show code o utline / structure Open class, method, or variable information (tooltip text)
7/9
Alt + /
http://www.shortcutworld.com/en/win/Eclipse.html
3/11/2014
F3
Open Declaration: Jump to Declaration of selected class, method, or parameter Open Type Hierarchy window for selected item Show / open Quick T ype Hierarchy for selected item Open Type in Hierarchy Open Call H ierarchy Find occ u rrences of expression in current file Open Declaration or Implementation up
F4 Ctrl + t Ctrl + Shift + t Ctrl + Alt + h Ctrl + u Ctrl +move over method
10. Refactoring Alt + Shift + r R ename selected element and all references Mo v e selected element to other class or file (With complete method or class selected) C hange method signature (with method name selected) Extract selection to m ethod Extract l ocal variable: Create and assigns a variable from a selected expression I nline selected local variables, Alt + Shift + i methods, or constants if possible (replaces variable with its declarations/ assignment and puts it directly into the statements) up 11. Run and Debug Ctrl + F11 F11 F5
http://www.shortcutworld.com/en/win/Eclipse.html
Alt + Shift + v
3/11/2014
F6 F7 F8
12. The Rest Switch forward / backward between views (panels). Useful for switching back and forth between Package Explorer and Editor. Switch forward / backward between perspectives P rint Open Eclipse Help up
Shortcuts published under Creative Common License where possible. Website: Copyright 2006-2014. Terms of Use
http://www.shortcutworld.com/en/win/Eclipse.html
9/9