Eclipse Shortcuts

Posted by RAY.D
2016. 2. 19. 13:37 프로그래밍 도구/Eclipse
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

Eclipse Shortcuts  

Uploaded by berndupdated on 11/29/2015 by bernd
Platform: Windows/ English

pdf PDF  printer_friendly Print minimize Hide all  maximize Show all

minus1. Manage Files and Projects
Ctrl+NCreate new project using the Wizard
Ctrl+Alt+NCreate new project, file, class, etc.
Alt+F, then .Open project, file, etc.
Ctrl+Shift+ROpen Resource (file, folder or project)
Alt+EnterShow and access file properties
Ctrl+SSave current file
Ctrl+Shift+SSave all files
Ctrl+WClose current file
Ctrl+Shift+WClose all files
F5Refresh content of selected element with local file system

▲ up

minus2. Editor Window
Focus/ cursor must be in Editor Window for these to work.
F12Jump to Editor Window
Ctrl+Page Down/Ctrl+Page UpSwitch to next editor / switch to previous editor
Ctrl+MMaximize or un-maximize current Editor Window (also works for other Windows)
Ctrl+EShow list of open Editors. Use arrow keys and enter to switch
Ctrl+F6/Ctrl+Shift+F6Show list of open Editors. Similar to ctrl+e but switches immediately upon release of ctrl
Alt+Arrow Left/Alt+Arrow RightGo to previous / go to next Editor Window
Alt+-Open Editor Window Option menu
Ctrl+F10Show view menu (features available on left vertical bar: breakpoints, bookmarks, line numbers, …)
Ctrl+F10, then nShow or hide line numbers
Ctrl+Shift+QShow or hide the diff column on the left (indicates changes since last save)

▲ up

minus3. Navigate in Editor
Home/EndJump to beginning / jump to end of indention. Press home twice to jump to beginning of line
Ctrl+Home/EndJump to beginning / jump to end of source
Ctrl+Arrow Right/Arrow LeftJump one word to the left / one word to the right
Ctrl+Shift+Arrow Down/Arrow UpJump to previous / jump to next method
Ctrl+LJump to Line Number. To hide/show line numbers, press ctrl+F10 and select 'Show Line Numbers'
Ctrl+QJump to last location edited
Ctrl+./Ctrl+,Jump to next / jump to previous compiler syntax warning or error
Ctrl+Shift+PWith a bracket selected: jump to the matching closing or opening bracket
Ctrl+[+]/Ctrl+- on numeric keyboardCollapse / Expand current method or class
Ctrl+[/]/Ctrl+* on numeric keyboardCollapse / Expand all methods or classes
Ctrl+Arrow Down/Ctrl+Arrow UpScroll Editor without changing cursor position
Alt+Page Up/Alt+Page DownNext Sub-Tab / Previous Sub-Tab

▲ up

minus4. Select Text
Shift+Arrow Right/Arrow LeftExpand selection by one character to the left / to the right
Ctrl+Shift+Arrow Right/Arrow LeftExpand selection to next / previous word
Shift+Arrow Down/Arrow UpExpand selection by one line down / one line up
Shift+End/HomeExpand selection to end / to beginning of line
Ctrl+ASelect all
Alt+Shift+Arrow UpExpand selection to current element (e.g. current one-line expression or content within brackets)
Alt+Shift+Arrow Left/Arrow RightExpand selection to next / previous element
Alt+Shift+Arrow DownReduce previously expanded selection by one step

▲ up

minus5. Edit Text
Ctrl+C/Ctrl+X/Ctrl+VCut, copy and paste
Ctrl+ZUndo last action
Ctrl+YRedo last (undone) action
Ctrl+DDelete Line
Alt+Arrow Up/Arrow DownMove current line or selection up or down
Ctrl+Alt+Arrow Up/Ctrl+Alt+Arrow Down/Duplicate current line or selection up or down
Ctrl+DeleteDelete next word
Ctrl+BackspaceDelete previous word
Shift+EnterEnter line below current line
Shift+Ctrl+EnterEnter line above current line
InsertSwitch between insert and overwrite mode
Shift+Ctrl+YChange selection to all lower case
Shift+Ctrl+XChange selection to all upper case

▲ up

minus6. Search and Replace
Ctrl+FOpen find and replace dialog
Ctrl+K/Ctrl+Shift+KFind previous / find next occurrence of search term (close find window first)
Ctrl+HSearch Workspace (Java Search, Task Search, and File Search)
Ctrl+J/Ctrl+Shift+JIncremental search forward / backwards. Type search term after pressing ctrl+j, there is now search window
Ctrl+Shift+OOpen a resource search dialog to find any class

▲ up

minus7. Indentions and Comments
Tab/Shift+TabIncrease / decrease indent of selected text
Ctrl+ICorrect indention of selected text or of current line
Ctrl+Shift+FAutoformat all code in Editor using code formatter
Ctrl+/Comment / uncomment line or selection ( adds '//' )
Ctrl+Shift+/Add Block Comment around selection ( adds '/... */' )
Ctrl+Shift+\Remove Block Comment
Alt+Shift+JAdd Element Comment ( adds '/** ... */')

▲ up

minus8. Editing Source Code
Ctrl+SpaceOpens Content Assist (e.g. show available methods or field names)
Ctrl+1Open Quick Fix and Quick Assist
Alt+/Propose word completion (after typing at least one letter). Repeatedly press alt+/ until reaching correct name
Ctrl+Shift+InsertDeactivate or activate Smart Insert Mode (automatic indention, automatic brackets, etc.)

▲ up

minus9. Code Information
Ctrl+OShow code outline / structure
F2Open class, method, or variable information (tooltip text)
F3Open Declaration: Jump to Declaration of selected class, method, or parameter
F4Open Type Hierarchy window for selected item
Ctrl+TShow / open Quick Type Hierarchy for selected item
Ctrl+Shift+TOpen Type in Hierarchy
Ctrl+Alt+HOpen Call Hierarchy
Ctrl+Shift+UFind occurrences of expression in current file
Ctrl+move over methodOpen Declaration or Implementation

▲ up

minus10. Refactoring
Alt+Shift+RRename selected element and all references
Alt+Shift+VMove selected element to other class or file (With complete method or class selected)
Alt+Shift+CChange method signature (with method name selected)
Alt+Shift+MExtract selection to method
Alt+Shift+LExtract local variable: Create and assigns a variable from a selected expression
Alt+Shift+IInline selected local variables, methods, or constants if possible (replaces variable with its declarations/ assignment and puts it directly into the statements)

▲ up

minus11. Run and Debug
Ctrl+F11Save and launch application (run)
F11Debug
F5Step Into function
F6Next step (line by line)
F7Step out
F8Skip to next Breakpoint

▲ up

minus12. The Rest
Ctrl+F7/Ctrl+Shift+F7Switch forward / backward between views (panels). Useful for switching back and forth between Package Explorer and Editor.
Ctrl+F8/Ctrl+Shift+F8Switch forward / backward between perspectives
Ctrl+PPrint
F1Open Eclipse Help
Shift+F10Show Context Menu right click with mouse

▲ up

minus13. Team (SVN Subversive)
Ctrl+Alt+SSynchronize with Repository
Ctrl+Alt+CCommit
Ctrl+Alt+UUpdate
Ctrl+Alt+DUpdate to Revision
Ctrl+Alt+EMerge
Ctrl+Alt+TShow Properties
Ctrl+Alt+IAdd to svn:ignore