Eclipse Common shortcut keys

Source: Internet
Author: User

1 Some of the most important shortcut keys

Code Assistant: Ctrl+space (Simplified Chinese operating system is alt+/)
Quick FIX: Ctrl+1
Word Completion: alt+/
Open external Java document: SHIFT+F2

Show Search dialog box: ctrl+h
Fast Outline:ctrl+o
Open resource: Ctrl+shift+r
Open type: ctrl+shift+t
Display the refactoring menu: alt+shift+t

Position of previous/next cursor: alt+left/right
Previous/Next member (Member object or member function): Ctrl+shift+up/down
Check closed element: Alt+shift+up/down/left/right
Delete Row: Ctrl+d
Insert a row on the current line: Ctrl+shift+enter
Insert a row below the current line: Shift+enter
Move the selected row up or down: alt+up/down

Organization Import: Ctrl+shift+o

2 positioning
2.1 In-line positioning
end/Beginning of line: End/home
Previous/Next word: Ctrl+right/left
2.2 In-file positioning
jump to a line: Ctrl+l
Scroll down: Ctrl+up/down
Previous/Next member (Member object or member function): Ctrl+shift+up/down
Fast Outline:ctrl+o
2.3 Cross-file positioning
Open declaration: F3
Open resource: Ctrl+shift+r
Open type: Ctrl+shift+t
search for the declaration of the selected element in workspace: Ctrl+g
Search for selected text in workspace: Ctrl+alt+g
search for references to selected elements in workspace: Ctrl+shift+g
Open Call Hierarchy: Ctrl+alt+h
Quick hierarchies: ctrl+t
regret: Ctrl + Z
2.4 Other
previous/Next cursor location: Alt+left/right
previous Edit location: Ctrl+q

3 Select  
3.1 Rows Select  
Select to end of line/beginning of row: Shift+end/home
Select the previous/next word: ctrl+shift+left/right
3.2 in file check  
Select the closed element: Alt+shift+up

Select the next/previous element: alt+shift+right/left 

4 positioning/checking/operation at the same time  
Delete Row: ctrl+d
Delete the next/previous word: Ctrl+delete/backspace
Delete to end of line: Ctrl+shift+delete
insert a line on the current line: Ctrl+shift+enter
insert a row below the current line: Shift+enter
Move the selected row up or down: Alt+up/down
Copy the selected line: ctrl+alt+up/down 

5 other code-editing class shortcut keys
Save: Ctrl+s
Save All: Ctrl+shift+s
Next hit item (after search): Ctrl +.
Note: ctrl+/
Add Import: Ctrl+shift+m
Show shortcut keys help: Ctrl+shift+l
Change to large/lowercase: ctrl+shift+x/y

6 Refactoring
Display the refactoring menu: alt+shift+t
Refactoring-Change method signature: Alt+shift+c
Refactoring-Move: alt+shift+v
Refactoring-Renaming: alt+shift+r

7 Editor, view, pivot chart Toggle
Next Editor: Ctrl+f6
Next view: Ctrl+f7
Next perspective: Ctrl+f8
Maximize Current View or editor: Ctrl+m
Activation Editor: F12

8 Debug
F5:step into (Debug)
F6:step over (Debug)
F7:step return (Debug)
F8:resume (Debug)
F11:debug previous application (Debug)

9 up/down/right/left class shortcut keys
Ctrl
Previous/Next word: Ctrl+right/left
Scroll down: Ctrl+up/down
Alt
position of previous/next cursor: Alt+left/right
Move the selected row up or down: Alt+up/down
Shift
Select Previous/Next character: Shift+left/right
Select the previous line/next line (starting at the current cursor position): Shift+up/down
Ctrl+shift
Previous/Next member (Member object or member function): Ctrl+shift+up/down
Select Previous/Next word: Ctrl+shift+left/right
Alt+shift
Check closed element: Alt+shift+up
revert to previous check: Alt+shift+down
check Next/previous element: Alt+shift+right/left
Copy the selected row: Ctrl+alt+up/down
Ctrl+alt
Copy the selected row: Ctrl+alt+up/down

class F shortcut keys
F2: Show Prompt/rename
F3: Open the declaration of the selected element
F4: Opens the Type inheritance structure of the selected element
F5: Refresh
F5:step into (Debug)
F6:step over (Debug)
F7:step return (Debug)
F8:resume (Debug)
F11:debug previous application (Debug)
F12: Activating editor

Transferred from: http://www.cnblogs.com/ifaithu/archive/2013/02/19/2917263.html

Eclipse Common shortcut keys

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.