Most commonly used eclipse shortcut keys

Source: Internet
Author: User

A week did not knock code, shortcut keys and forget, it seems necessary to summarize, for yourself to see. (commonly used, not commonly used not to write, write also can't remember)

Quick fix:ctrl+1
Word completion:alt+/

Full Project Search:ctrl+h

Delete Row:ctrl+d is very useful, without the mouse drag

Insert one line on the current line:ctrl+shift+enter
Insert one line on the next line: shift+enter
Move the selected row up or down:alt+up/down

Quick Guide Pack, remove unused packages:ctrl+shift+o

Comment Counter-comment:ctrl+/ //type needs to first select the line to be commented, single row to select rows, multiple rows to select content

Note ctrl+shift+/ ctrl+shift+\ /**/type requires you to first select what you want to annotate

Maximizes the current edit or view ctrl+m (and vice versa)

Make the currently selected text stale in lowercase ctrl+shift+x
Changes the currently selected text to lowercase ctrl+shift+y

Formatting the current code ctrl+shift+f

Note To method:/**+enter. or use the shortcut key alt+shift+j

The above are my own commonly used, not the most complete, is the most practical novice.

Most commonly used eclipse shortcut keys

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.