Eclipse often uses shortcut keys

Source: Internet
Author: User

Eclipse has powerful editing capabilities, 工欲善其事. Its prerequisite, mastering the Eclipse shortcut keys. Can greatly improve work efficiency.

Gaze ctrl+/

You can add gaze or cancel gaze to the cursor "row" or "Selected line". can also join or cancel gaze on multiple lines

High-speed 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, to delete the empty row, not to delete the row. And pressing a lot of delete keys.

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 Form Maximize Ctrl + M

Large screen to increase productivity, Ctrl + M to maximize edit form

Show Outline Ctrl + O

Displays an outline of the methods and properties in the class. Methods and properties to locate classes at high speed

Find Java class file Ctrl + Shift + T

Find a Java class file in the search workspace (Workspace) build path, do not suffer from the discovery of classes, and be able to 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. For example, to change the code that references a method. The ability to quickly locate all references to this method through the "ctrl+shift+g" shortcut key.

Fallback history alt+←, alt+→

Back history and forward history. It's useful when you're tracking code. The user may have looked up several related places, but may not remember clearly. You can locate the order of lookups by using these two shortcut keys.

Find selected content at high speed ctrl+k

Ctrl + K High-speed down to find the selected content, no longer need to use the mouse to click the Find dialog box.

Ctrl + Shift + K high-speed up to find selected content

Renaming Alt+shift+r


Eclipse often uses 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.