Common shortcuts for Eclipse programmers

Source: Internet
Author: User

To determine a person's programming level, you can see that he uses many keyboards or more mouse. Use the keyboard to enter the code (including comments, of course), and then use the shortcut keys skillfully.

So I found some useful information on the Internet and shared it with you.

Ctrl + K place the cursor on a variable (note, it is a variable, if your cursor is placed on a string, such as a http://www.hualai.net.cn, it does not work ), press Ctrl + K to locate the next identical variable.
Shift + Ctrl + K has the same function as Ctrl + K.
Ctrl + O open a small window similar to the Outline View
Alt + left and right arrow keys, jump to the previous/next edit position (often used)
Double-click the left brackets (parentheses, braces, and braces). All content in the brackets is selected.
F3 open the file that declares the reference
F4 open type hierarchy
Ctrl + H open the search window
Shift + Ctrl + S save all
Shift + Ctrl + R open the resource
Ctrl + Q back to the last Edit
Ctrl + Shift + G search for references in workspace
Alt + up and down arrow keys to move the selected row up or down

Shift + Enter add an empty row under the current row, and the cursor can be anywhere in the current row
Ctrl + L jump to a line
Ctrl + M to maximize the current Edit or View, and then press
Ctrl +/comment out the current row, and then press Ctrl +.
Ctrl + T show the inheritance of the current class (you can view the directory tree of the Class)

Ctrl + E: display the current Edit drop-down list
Ctrl +/(keypad) collapse all code in the current class
Ctrl + * (keypad) show all the code in the current class

Alt +/code assistant, prompting code
Ctrl + J forward incremental search
Ctrl + Shift + J reverse incremental search

Ctrl + Shift + F4 close all open edit
Ctrl + Shift + R find files
Ctrl + Shift + T Search Class

Alt + Shift + R
Alt + Shift + M Extraction Method
Alt + Shift + Z cancel refactoring

Don't cut firewood by mistake. You must be familiar with it ....

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.