Shortcut keys for Eclipse

Source: Internet
Author: User

This article is small in the process of learning, encountered the Eclipse shortcut keys, through the blog to record.

Declaration of complete code: ALT +/
* 2. Prompt shortcut key: Ctrl + 1
* 3. Use a single-line comment: Ctrl +/
* 4. Use multi-line comments: Ctrl + SHIFT +/Uncomment: CTRL + SHIFT + \
* 5. Copy the code for the specified line: Ctrl + ALT + down or CTRL + ALT + UP
* 6. Delete the code for the specified line: Ctrl + D
* 7. Move code: ALT + up or ALT + down
* 8. Switch to the next line of code vacancy: Shift + ENTER
* 9. Switch to the previous line of code vacancy: CTRL + SHIFT + ENTER
* 10. How to view Source: Ctrl + Check the specified structure or CTRL + SHIFT + T
* 11. The cursor selects the specified class to view the inheritance tree structure: Ctrl + T
* 12. After entering the source code, want to return/ENTER: ALT + Left and ALT + right
* 13. Copy code: CTRL + C
* 14. Undo: Ctrl + Z anti-undo: Ctrl + Y
* 15. Cut: Ctrl + X
* 17. Paste: Ctrl + V
* 18. Save: Ctrl + S
* 19. Select all: Ctrl + A
* 20. Format code: CTRL + SHIFT + F
* 21. Select a number of lines and move the whole backwards: tab
* 22. Select a number of lines and move the whole forward: SHIFT + Tab
* 23. In the current class, search for the specified method, property, etc.: CTLR + O
* 24. Batch Modify the specified variable name, method name, etc.: ALT + SHIFT + R
* 25. The case of the selected structure toggle: Uppercase: CTRL + SHIFT + X; Turn lowercase: Ctrl + SHIFT + Y
* 26. Guide Pack: Ctrl + SHIFT + O
*
* 27. Close the current window: Ctrl + W
* 28. Close all windows: Ctrl + SHIFT + W
* 29. In the current Eclipse window, search for the specified structure: Ctrl + H
* 30. See where the specified structure has been used: Ctrl + ALT + G
* 31. Find and Replace: Ctrl + F
* 32. Navigate directly to the top of the current line: Home
* 33. Navigate directly to the bottom of the current line: End

Shortcut keys for Eclipse

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.