Eclipse-related shortcut keys

Source: Internet
Author: User

Common shortcuts for Eclipse (reproduced online)

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 in-line selection
Select to end of line/beginning of row: Shift+end/home
Select Previous/Next word: ctrl+shift+left/right
3.2 selected in file
Check closed element: Alt+shift+up
Revert to previous check: Alt+shift+down
Check next/previous element: Alt+shift+right/left

4 Positioning/checking/operation at the same time
Delete Row: Ctrl+d
Delete Next/previous word: ctrl+delete/backspace
Delete to end of line: Ctrl+shift+delete
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
Copy the selected row: 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

Eclipse-related 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.