Eclipse shortcut keys under Android-mac

Source: Internet
Author: User

Command + O: Show outline
Command + 1: Quick fix
Command + D: Delete Current line
Command + option +↓: Copy current line to next line
Command + option +↑: Copy when Move forward to the previous line
Option +↓: The current row and the following line interact with each other
option +↑: The current row and the line above interact
Option +←: previous edited page
option +→: Next edited page
Option + Return: Displays the properties of the currently selected resource
SHIFT + RETURN: Inserts a blank line in the next line of the current row
Shift + control + RETURN: Insert a blank line in the current row
Control + Q: Navigate to the last edit place
Control + M: Maximizes the current edit or view (and then minimizes)
Control +/: Comment on the current line, and then uncomment
Command + T: Quickly display the inheritance structure of the current class
Command + W: Close the current editer
Command + K: Refer to the currently selected word quickly navigate to the next
Command + E: Quickly display the current Editer drop-down list (if the current page does not appear in bold)
Option +/ : Code Helper completes some code insertion (commonly known as "smart tip")
Command + Shift + E: Displays the manager that manages all the view currently open
Command + J: Forward incremental lookup (after pressing Command + j, Each letter editor you enter provides a quick match to navigate to a word, if not, it is not found in Stutes line)
Command + SHIFT + J: Reverse incremental Find
Command + SHIFT + W: Turns off all open editer
Command + SHIFT + X: Turns the currently selected text to uppercase
Command + SHIFT + Y: Turns the currently selected text all lowercase
Command + SHIFT + F: Formatting the current code
Command + Shift + P: Navigates to the match for (for example, {}) (from the previous position, the cursor is in the match, back to front, or vice versa)

Option + Command + R: rename (especially the rename effect of variables and classes is more obvious)
Option + Shift + M: Extraction method (This is one of the most common methods of refactoring, especially useful for a whole bunch of mud codes)
Option + Command + C: Modify the function structure (there are n functions called this method, the modification will be done at a time)
Option + Command + L: Extract local variables (you can directly extract some magic numbers and strings into a variable, especially when multiple calls are made)
Option + Shift + F: Change the local variable in class to a field variable (more useful function)
Option + Command + Z: Refactoring of Regret pills (Undo)

Eclipse shortcut keys under Android-mac

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.