Organize Eclipse common shortcut keys
The development environment switch to the Mac under The original Window shortcut key is incompatible, accustomed to the shortcut key life suddenly which day shortcut keys do not work, followed by the development efficiency is significantly reduced, frequent entry error shortcut keys let Eclipse I don't know what you want.
The following is a frequently used Eclipse accelerator that I've collated , mainly based on the first key.
The end of the document is a shortcut key that collects the text edits under the MAC system when the tag jumps or is selected.
First,Command class
Command+1 |
Quick fix |
Command+d |
Delete When moving forward |
command+option+↓ |
Copy the current line to the next line |
command+option+↑ |
Copy the current line to the previous row |
command+← |
Moves the cursor to the beginning of the current line |
command+→ |
Moves the cursor to the end of the current line |
Command+t |
Quickly display the structure of the current class |
Command+w |
Close the current edit page |
command+option+← |
Previous edited page |
command+option+→ |
The page after an edit |
Command+k |
Refer to the current edit page with the selected keyword down search |
Command+e |
Displays the list of currently edited pages to select a page to toggle |
command+/ |
Comment or counter-comment when moving forward |
Command+shift+e |
Display Editor manager, optionally switch editor |
Command+j |
Forward lookup, find the characters entered in the current edit page, and note the hints in the Eclipse status bar |
Command+shift+j |
Reverse lookup, using the same way as a forward lookup |
Command+shift+w |
Close all open Editor |
Command+shift+p |
Locating a match, for a scenario with a larger code size, such as at the end of the loop body of the while () {} , where you want to jump to the while () { . |
Second,Option class
Option+↓ |
Move down when moving forward |
option+↑ |
Move up when moving forward |
option+ Enter |
Displays the properties of the currently selected resource |
option+/ |
Code Assistant "Smart Tips" |
Option+command+r |
Renaming |
Option+command+c |
Modify function structure, apply refactoring |
Option+command+l |
Extracting Local variables |
Third, theControl class
Control+m |
Maximize or restore the current editor or view |
Four,Shift class
shift+command+↑ |
Select the cursor to the beginning of all text |
shift+command+↓ |
Select the cursor to the end of all text |
shift+command+→ |
Select the cursor to the end of the current line |
shift+command+← |
Select the cursor to the beginning of the current line |
V. Additional Information
Eclipse is common for text-editing jumps and check jumps, which are basic and mac Systems, and the following is the support of Mac systems for text selection or in or jump.
1. text position jump shortcut key:
Jump to the beginning of a line: |
Command+ LEFT Arrow |
Jump to the end of a line: |
Command+ RIGHT Arrow |
Jumps to the beginning of the current word (for English, pinyin): |
Option+ LEFT Arrow |
Jumps to the end of the current word (for English, pinyin): |
option+ RIGHT Arrow |
Jump to the beginning of all text: |
Command+ Up ARROW |
Jump to the end of all text: |
Command+ DOWN ARROW |
2. Select shortcut keys for text
To add a shift to the above shortcut keys, you can extend the shortcut to the selected text effect
Select the text that starts with the cursor: |
Shift+command+ LEFT Arrow |
Select the text at the end of the line with the cursor: |
Shift+command+ RIGHT Arrow |
Check the cursor to the beginning of the current word (for English, pinyin): |
Shift+option+ LEFT Arrow |
Check the cursor to the end of the current word (for English, pinyin): |
shift+option+ RIGHT Arrow |
Check the cursor to the beginning of all text: |
Shift+command+ Up ARROW |
Select the cursor to the end of all text: |
Shift+command+ DOWN ARROW |
Common shortcut keys for eclipse under Mac