Common Eclipse shortcuts For MAC and eclipsemac
Common Eclipse shortcut keys For MAC
Option + Command + X: Run
Command + O: Display outline
Command + 1: quick fix
Command + D: Delete the current row
Command + Option + duplicate: copy the current row to the next row
Command + Option + duplicate: copy the current row to the previous row
Option + cursor: Interaction position between the current row and the following row
Option + interaction: Interaction position between the current row and the preceding row
Option + EDIT: Previous edited page
Option + →: Next Edit page
Option + Return: displays the attributes of the selected resource.
Shift + Return: insert empty rows in the next row of the current row
Shift + Control + Return: insert null rows in the current row
Control + Q: locate the Last edited location
Control + M: Maximize the current Edit or View (and then press to minimize)
Control +/: comment out the current row, and then press it to cancel the comment
Command + T: to quickly display the inheritance structure of the current class
Command + W: Disable the current Editer
Command + K: refer to the selected Word to quickly locate the next one
Command + E: Quickly display the drop-down list of the current Editer (if the current page is not displayed, it is expressed in bold)
Option +/: the code assistant inserts some code (commonly known as "Smart Tips ")
Command + Shift + E: displays the managers that manage all Opened Views.
Command + J: Forward incremental search (after you press Command + J, each letter editor you enter provides a quick match to locate a word. If not, it is not found in Stutes Line)
Command + Shift + J: reverse incremental search
Command + Shift + W: Close all open Editer
Command + Shift + X: converts all selected text to uppercase
Command + Shift + Y: converts all selected text to lowercase
Command + Shift + F: format the current Code
Command + Shift + P: locate the matched character (for example, {}) (when positioning from the front, the cursor must be inside the matched character, followed by the front, and vice versa) option + Command + R: Rename (especially the Rename Effect of variables and classes is obvious)
Option + Shift + M: extraction method (this is one of the most common methods in refactoring, especially useful for a lot of code)
Option + Command + C: Modify the function structure. (If N functions call this method, modify it once)
Option + Command + L: extract local variables (you can directly extract some magic numbers and strings into one variable, especially when multiple calls are performed)
Option + Shift + F: Change the Local variable in the Class to the Field variable (more practical)
Option + Command + Z: Reconstructed regret medicine (Undo)