Shortcuts in eclipse

Source: Internet
Author: User

Alt +/: code prompt
CTRL +/: Comment/cancel comment
CTRL + D: Delete the row where the cursor is located
CTRL + K: move the cursor over the variable. Press Ctrl + k to find the next variable.
Shift + Ctrl + K: the opposite direction of Ctrl + k search
Shift + Ctrl + F: format the code. If code is selected, only the selected code is formatted.
Shift + Ctrl + O: Fast Import
Shift + Ctrl + X: converts the selected characters into uppercase letters.
Shift + Ctrl + Y: converts the selected characters to lowercase letters.
CTRL + M: Quickly maximize the current view
CTRL + O: open a small window similar to the Outline View in the code
CTRL + Click: trace the source code of methods and Classes
Alt + left and right arrow keys: Jump to the previous/next edit position.
CTRL + mouse stop: displays the source code of the class and Method
Double-click the left brackets (parentheses, braces, and braces) to select all the content in the brackets.
CTRL + 1: move the cursor over a variable and press Ctrl + 1 to provide a quick refactoring solution. Select several lines and press Ctrl + 1 to put the code into the for, while, if, do, or try code blocks.
F3: open the file that declares the reference.
F4: Open the type hierarchy
F5: One-Step Jump
F6: Skip in one step
F7: One-Step Jump out
F8: continue. If there is no breakpoint at the end, the program will be running
CTRL + H: Open the search window
CTRL + Shift + S: Save all

 

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.