Common shortcut keys for Eclipse on Mac

Common shortcut keys for Eclipse on Mac

use hot key
Popup code related options ⌘+Option+S
Inherit Override Methods ⌘+Option+S
member method ⌘+Option+S
Add get and set methods ⌘+Option+S
Add hashcode() and equals() ⌘+Option+S
Complete the constructor ⌘+Option+S
inheritance constructor ⌘+Option+S
quick fix ⌘+1
delete current line ⌘+d
Copy the current line to the next line ⌘+Option+↓
Copy the current line to the previous line ⌘+Option+↑
Move the cursor to the beginning of the current line ⌘+←
Move the cursor to the end of the current line ⌘+→
Quickly display the structure of the current class ⌘+t
Close the current edit page ⌘+w
previous edited page ⌘+Option+←
next edited page ⌘+Option+→
Search down by referring to the keyword selected on the current edit page ⌘+k
Display the current editing page list and select the page to switch ⌘+e
Comment or uncomment the current line ⌘+/
Display the Editor manager, you can choose to switch the editor ⌘+Shift+e
Forward search, find the entered characters in the current editing page ⌘+j
Reverse lookup, similar to forward lookup ⌘+Shift+J
Close all open Editors ⌘+Shift+W
Positioning matcher, suitable for scenarios with relatively large code scale ⌘+Shift+P
move the current line down Option+↓
move current line up Option+↑
Display the properties of the currently selected resource Option+Enter
Code Assistant "Smart Tips" Option+/
Rename Option+⌘+R
Extract local variables Option+⌘+L
Maximize or restore the current editor or view Control+M
Select cursor to the beginning of all text Shift+⌘+↑
Select cursor to end of all text Shift+⌘+↓
Select cursor to end of current line Shift+⌘+→
Select the cursor to the beginning of the current line Shift+⌘+←

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325710834&siteId=291194637