Eclipse most frequently used shortcut keys

Source: Internet
Author: User

using eclipse for so long has found it much more efficient to use some shortcut keys like PS.

Here's a summary of the following shortcut keys that you can use every time you open eclipse.

Not familiar with these shortcuts, in the actual programming of the conscious use of the future coding is very helpful.

Beginner Quick:

CTRL + C Copy

CTRL + V Sticky Sticker

CTRL + X cut

CTRL + D removes selected rows (usage up to 100%)

CTRL + A Select All

CTRL + Z BACKSPACE (back to previous action)

CTRL + Y forward (when using "backspace" to go back to backspace)

CTRL + L jump to a line of code

CTRL + H search for files or strings (essential shortcuts for maintaining projects and researching the underlying source code)

CTRL +/single-line comment (when multiple rows are selected, add "//" at the beginning of each line, cancel the row comment and press the shortcut again)

CTRL + M: Maximum minimization of the current tab. (The best thing about writing code is that the tabs are maximized and the usage rate is up to 100%)

ALT +/Lenovo hint. (Very useful, but can not be abused)

Alt +↑ Move the current row to the previous line (not used as many times as above, but with absolutely no lower frequency)

Alt +↓ Move the current line to the next line

Alt +← Previous Edit page

Alt +→ after an edit page (multiple files edited, switch files very convenient)

CTRL + Q recall the last edited line (higher frequency than the previous two shortcuts)

Advanced shortcut keys:

Ctrl + Shift +/block Comments (comments with "/* * *")

CTRL + Shift + \ Remove block comment (used with upper mate)

CTRL + Shift + F formatting code (re-typesetting the code, personally considered to be the most efficient shortcut in eclipse)

CTRL + ALT +↑ Copy the current line code to the first line

CTRL + ALT +↓ Copy the current line code to the next line (compared to it, CTRL C + CTRL V is weak)

Alt + Shift + R modifies the name of the currently selected variable. (also in one of the renaming?) That's the time to use it! )

CTRL + PAGEUP after one tab

CTRL + PageDown previous tab (with the previous shortcut key when the program files are more than the click of the mouse)

100% Original, reproduced please specify.

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.