Eclipse Common shortcut keys

Source: Internet
Author: User
Tags delete key

Eclipse has powerful editing features, 工欲善其事, its prerequisite, and the ability to master Eclipse shortcuts, which can greatly improve productivity.

Comment ctrl+/

You can add comments or uncomment the cursor "row" or "Selected line". You can also add or uncomment multiple lines

Quick fix Ctrl + 1 Delete current line ctrl+d

The cursor is anywhere in the line, press Ctrl+d to delete the current row, and of course you can delete the empty row, not to delete the row, and press a lot of delete key

Formatting the entire document CTRL+SHIFT+F insert blank line Shift + Enter

Shift+enter inserts a blank row on the next line of the current row (at which point the mouse can be at any position in the current row, not necessarily the last)

Shift + Ctrl + Enter inserts a blank line on the previous line of the current row

Edit window Maximize Ctrl + M

Large screen increases productivity, Ctrl + M maximizes the editing window

Show Outline Ctrl + O

shows an outline of methods and properties in a class to quickly locate methods and properties of a class

Find Java class file Ctrl + Shift + T

Find a Java class file in the search workspace (Workspace) build path, and do not suffer for the class being found, and you can use "*", "? "And so on wildcard characters.

Find References Ctrl+shift+g

Find references to classes, methods, and properties. This is a very useful shortcut key, such as to modify the code that refers to a method, you can quickly locate all references to this method by using the "ctrl+shift+g" shortcut key.

Fallback history alt+←, alt+→

Backward history and forward history are useful in tracking code, and users may find several associated places, but they may not be able to remember the order in which they are located by these two shortcut keys.

Quickly find the selected content Ctrl+k

Ctrl + K quickly looks down the selection and no longer needs to click the Find dialog box with the mouse.

Ctrl + Shift + K quickly find the selected content

Renaming Alt+shift+r


Eclipse Common 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.