Sie sind auf Seite 1von 5

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 new project using the Wizard Create new project, file, class, etc. Open project, file, etc. Open Ressource (file, folder or project) Show and access file properties Save current file Save 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 Ctrl+m Ctrl+e Ctrl+F6/Ctrl+Shift+F6 Alt+Arrow Left/Alt+Arrow Right Alt+Ctrl+F10 Ctrl+F10, then n Ctrl+Shift+q Jump to Editor Window Switch to next editor / switch to previous editor Maximize or un-maximize current Editor Window (also works for other W Show list of open Editors. Use arrow keys and enter to switch Show list of open Editors. Similar to ctrl+e but switches immediately upon Go to previous / go to next Editor Window Open Editor Window Option menu

Show view menu (features available on left vertical bar: breakpoints, bookm Show or hide line numbers Show or hide the diff column on the left (indicates changes since last save)
up

3. Navigate in Editor Home/End Jump to beginning / jump to end of indention. Press home twice to jump to

Ctrl+Home/End Ctrl+Arrow Right/Arrow Left Ctrl+Shift+Arrow Down/Arrow Up Ctrl+l Ctrl+q Ctrl+./Ctrl+, Ctrl+Shift+p Ctrl+[+]/Ctrl+- on numeric keyboard Ctrl+[/]/Ctrl+* on numeric keyboard Ctrl+Arrow Down/Ctrl+Arrow Up

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 Line Number. To hide/show line numbers, press ctrl+F10 and selec 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 Collapse / Expand all methods or classes Scroll Editor without changing cursor position
up

4. Select Text Shift+Arrow Right/Arrow Left Ctrl+Shift+Arrow Right/Arrow Left Shift+Arrow Down/Arrow Up Shift+End/Home Ctrl+a Alt+Shift+Arrow Up Alt+Shift+Arrow Left/Arrow Right Alt+Shift+Arrow Down 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 all

Expand selection to current element (e.g. current one-line expression or con Expand selection to next / previous element Reduce previously expanded selection by one step
up

5. Edit Text Ctrl+c/Ctrl+x/Ctrl+v Ctrl+z Ctrl+y Ctrl+d Alt+Arrow Up/Arrow Down Cut, copy and paste Undo last action Redo last (undone) action Delete Line Move current line or selection up or 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

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 Ctrl+k/Ctrl+Shift+k Ctrl+h Ctrl+j/Ctrl+Shift+j Ctrl + Shift + o Open find and replace dialog

Find previous / find next occurrence of search term (close find window firs Search Workspace (Java Search, Task Search, and File Search)

Incremental search forward / backwards. Type search term after pressing ct 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 indention of selected text or of current line Autoformat 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

Alt+/ Ctrl+Shift+Insert

Propose word completion (after typing at least one letter). Repeatedly press

Deactivate or activate Smart Insert Mode (automatic indention, automatic b


up

9. Code Information Ctrl+o F2 F3 F4 Ctrl+t Ctrl+Shift+t Ctrl+Alt+h Ctrl+u Ctrl+move over method Show code outline / structure Open class, method, or variable information (tooltip text)

Open Declaration: Jump to Declaration of selected class, method, or param Open Type Hierarchy window for selected item Show / open Quick Type Hierarchy for selected item Open Type in Hierarchy Open Call Hierarchy Find occurrences of expression in current file Open Declaration or Implementation
up

10. Refactoring Alt+Shift+r Alt+Shift+v Ctrl+Shift+c Alt+Shift+m Alt+Shift+l Alt+Shift+i Rename selected element and all references

Move selected element to other class or file (With complete method or clas Change method signature (with method name selected) Extract selection to method

Extract local variable: Create and assigns a variable from a selected express

Inline selected local variables, methods, or constants if possible (replaces v assignment and puts it directly into the statements)
up

11. Run and Debug Ctrl+F11 F11 F5 F6 F7 Save and launch application (run) Debug Step Into function Next step (line by line) Step out

F8

Skip to next Breakpoint


up

12. The Rest Ctrl+F7/Ctrl+Shift+F7 Ctrl+F8/Ctrl+Shift+F8 Ctrl+p F1

Switch forward / backward between views (panels). Useful for switching ba Explorer and Editor. Switch forward / backward between perspectives Print Open Eclipse Help

Das könnte Ihnen auch gefallen