Eclipse Common shortcut keys

Source: Internet
Author: User

    • Eclipse shortcut Keys, familiar with shortcut keys can help us to do more
  1. ctrl+1 Quick Fix
  2. ctrl+d: Delete When moving forward
  3. ctrl+alt+↓ Copy the current row to the next row (copy incremented) (required) (shortcut key 3.4.5.6.7.8 need to disable the accelerator key for the core graphics card )
  4. ctrl+alt+↑ Copy the current line to the previous row (replication incremented)
  5. alt+↓ The current line and the next line of interaction (especially useful, can be omitted first cut, then pasted)
  6. alt+↑ The current line and the upper row interaction position (IBID.)
  7. alt+← the previous edited page
  8. alt+→ next Edit page (of course, for the above article)
  9. alt+enter Displays the properties of the currently selected resource (project, or file or file) (used to locate the file location, easy to find files, very handy when looking for a file's. java files and. class files)( Operation Guide Stamp here )
  10. Shift+enter Inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)
  11. shift+ctrl+enter Insert blank line in current line (principle above)
  12. ctrl+q positioning to the last edited place
  13. ctrl+l positioning in a row (for people with programs over 100 have the gospel)
  14. ctrl+m maximize the current edit or view (and vice versa)
  15. ctrl+w closing the current editer
  16. ctrl+/ comment on the current line, and then uncomment it
  17. ctrl+shift+c comment on the current line, and then uncomment it
  18. ctrl+o Quick Display OutLine
  19. ctrl+t quickly displays the inheritance structure of the current class
  20. Ctrl+k The selected word quickly navigates to the next
  21. ctrl+e Quick display of the current Editer drop-down list (in bold if the current page does not appear)
  22. ctrl+/(numpad) collapses all code in the current class
  23. Ctrl+x (keypad) expands all code in the current class
  24. Ctrl+space Code Helper to complete the insertion of some code (but the general and IME conflict, you can modify the input method hotkey, you can also take up alt+/ to replace)
  25. Ctrl+shift+e Display manager that manages all of the currently open view (you can choose to close, activate, and so on)
  26. ctrl+j forward Incremental lookup (After you press ctrl+j, each letter editor you enter provides a quick match to locate a word, if not , it is not found in the Stutes line, check a word, especially useful, this function idea two years ago. )
  27. ctrl+shift+j Reverse Incremental lookup (The same as the previous one, but only from the back forward)
  28. CTRL+SHIFT+F4 Close all open editer
  29. ctrl+shift+x capitalize the currently selected text
  30. Ctrl+shift+y turns the currently selected text all lowercase
  31. Ctrl+shift+f Formatting of the current code
  32. ctrl+shift+p Navigate to the match (for example {}) (after locating from the front, the cursor is in the match, back to front, or vice versa)
    • The following shortcut keys are commonly used in refactoring (note: The shortcut keys for general refactoring are alt+shift beginning)
  1. Alt+shift+r Renaming
  2. alt+shift+m Extraction Method (This is one of the most commonly used methods in refactoring, especially useful for a lot of mud code)( operation guide )
  3. Alt+shift+c Modify the function structure (more practical, there are n functions called this method, modified once done)
  4. Alt+shift+l Extract Local variables (you can directly extract some magical numbers and strings into a variable, especially when multiple calls are made)
  5. Alt+shift+f Change the local variable in class to a field variable (more useful function)
  6. Alt+shift+i Merge variables (this may be a bit inappropriate inline)
  7. Alt+shift+v Moving functions and variables (not commonly used)
  8. Alt+shift+z reconstruction of Regret medicine (Undo)

Eclipse Common shortcut keys

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.