"Go" Eclipse frequently used shortcut keys (animated explanation)

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.

Small tank I spent the whole day selecting some of the frequently used shortcut keys and recording the animations carefully so that you can see them. If you read this blog, feel that you have something to gain, please click on the bottom right corner of the [recommended]

Edit related shortcut keys

1. Note Ctrl +/

2. Quick fix Ctrl + 1

3. Delete the current line Ctrl + D

4. Formatting the document Ctrl + Shift + F

5.ctrl+shift+x all the currently selected text in a stale capitalization

6.ctrl+shift+y turns the currently selected text to lowercase

7. Insert blank line Shift + Enter

8. edit window Maximize Ctrl + M

9. Show Outline Ctrl + O

Ten. For+ control-space:

If you do not know yet, then you should remember that Control-space is the auto-complete feature. In Eclipse, you can also automate the structure. In an array or collection range, try entering "for" and then pressing the Control-space key. Eclipse will ask you which collection you want to traverse and automatically complete the loop code.

View, locate shortcut keys

Find Java class file Ctrl + Shift + T

Similar win+r opening and searching for files Ctrl+shift+r

lookup field Ctrl+h

Quickly find the selected content Ctrl+k

Find References Ctrl+shift+g

Fallback history alt+←, alt+→

Editor different page switch, also can use Ctrl+pagedown/pageup,ctrl+f6

Refactoring shortcut keys

1. Renaming alt+shift+r

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

From: Small Tank _ Blog Park

Links: http://www.cnblogs.com/TankXiao/p/4018219.html

"Go" Eclipse frequently used shortcut keys (animated explanation)

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.