Summary of the shortcut keys for the Eclipse for MAC

Source: Internet
Author: User

    • Eclipse common shortcut keys for MAC
    • Option + Command + X: Run
    • Command + O: Show outline
    • 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
    • Option +↓: The current line and the following line interact with the location
    • Option +↑: The current line and the previous row interact with the position
    • Option +←: Previous edited page
    • Option +→: Next edited page
    • OPTION + Return: Displays the properties of the currently selected resource
    • Shift + Return: Inserts a blank line on the next line in the current row
    • Shift + Control + Return: inserting blank rows in the current line
    • 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 cancel the comment
    • Command + T: Quickly display the inheritance structure of the current class
    • Command + W: Close current Editer
    • Command + K: Quickly navigate to the next page, referring to the currently selected word
    • Command + E: Quickly displays the current Editer drop-down list (in bold if the current page does not appear)
    • Option +/: Code helper to complete some code insertion (commonly known as "smart tip")
    • Command + Shift + E: Displays the manager that manages all of the currently open view
    • 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 Lookup
    • Command + Shift + W: Close all open editer
    • Command + Shift + X: Turns the currently selected text all 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 example {}) (after locating from the front, 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)

Summary of the shortcut keys for the Eclipse for 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.