Eclipse Shortcut key Encyclopedia (in Chinese and English and detailed usage)

Source: Internet
Author: User
Tags lowercase

Ctrl+1: This is a quick fix for shortcuts. Can quickly the reality of the cursor in the row of problems, and give some modification scheme.

Ctrl+d: Deletes the current line.

Ctrl+alt+↓: Replication adds current line to next line.

Ctrl+alt+↑: Replication increases the current line to the previous one.

Alt+↓: Swap position between current line and next line.

Alt+↑: The current line and the previous line are swapped positions.

alt+←: previous edit page.

alt+→: Next edit page.

Alt+enter: Displays the properties of the currently selected resource (project or file or file).

Shift+enter: Inserts a blank row on the next line of the current row (advantage: The position of the cursor can be at any point in the current row, not necessarily the last, compared to the Enter key).

Ctrl+shift+enter: Inserts a blank line on the current line, detailing the same as above.

Ctrl+q: Navigate to the last edit location.

Ctrl+l: Navigates to a row (very handy for files with a lot of program rows).

Ctrl+m: Maximizes the current edit or view (and then vice versa).

ctrl+/: Note the current line, and then press to cancel the comment.

Ctrl+o: Quick display of outline (file outline).

Ctrl+t: Quickly displays the inheritance structure of the current class.

Ctrl+w: Closes the current editer.

Ctrl+k: Quickly navigate to the next selection by referencing the selected word (word).

Ctrl+e: Quickly displays a drop-down list of current editer (currently open files) (if the current page is not displayed in bold).

ctrl+/: (keypad): Collapse the current class with more code, and then expand.

Ctrl+shift+e: Displays the manager that manages all the currently open view (you can choose to turn off, activate, and so on).

CTRL+J: Forward incremental lookup (after pressing CTRL+J, each letter editor you enter provides a quick match to locate a word, and if not, it is not found in the Stutes line, and when you look up a word, it is particularly practical, this function idea was two years ago).

CTRL+SHIFT+J: Reverse incremental lookup (same as above, just look forward from back).

CTRL+SHIFT+F4: Closes all open editer.

Ctrl+shift+x: All the currently selected text is sour lowercase
Ctrl+shift+y: Change the currently selected text to lowercase
CTRL+SHIFT+F: Format the current code
Ctrl+shift+p: Navigate to the matching character (for example {}) (when positioned from the front, the cursor is in the match, back to the front, or vice versa)
The following shortcuts are commonly used in refactoring, I like and commonly used to tidy up (note: The general refactoring shortcuts are alt+shift the beginning of the)
Alt+shift+r Rename (You can modify the name of the function, the name of the variable, the name of the file, and the other places of the main modification statement are automatically modified).
Alt+shift+c modifies the function structure (there are n functions that call this method, fix it once)
Alt+shift+f The local variables in class into field variables (more practical features)



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.