Eclipse shortcut keys

Source: Internet
Author: User

Let's take a quick look at Eclipse's shortcut keys to make your operation faster:


CTRL + SHIFT + R Search by file name

CTRL + SHIFT + T lookup based on type name

CTRL + O View the outline of a class

CTRL + SHIFT + U View the implementation method of the base class or interface

CTRL + SHIFT + G to see where the method or property is called

CTRL + SHIFT + UP (down) toggle method

ALT + left back to previous edit area

CTRL + K to find the next

Ctrl+h Open the Search dialog box

Ctrl+t quickly displays the inheritance structure of the current class



Writing code

CTRL + SHIFT + Enter adds a blank line to the line on the cursor and moves the cursor to the beginning of the row

SHIFT + Enter adds a blank line to the next line of the cursor, and moves the cursor to the beginning of the

ALT + SHIFT + UP ARROW to select the cell where the cursor is located

ALT + SHIFT + J Add comment to method or class

Import imports of Ctrl+shift+o organization classes

Ctrl+m maximize the current edit or view (and vice versa)

Ctrl+shift+← Select the word to the left of the cursor

ctrl+shift+→ Select the word with the cursor and the edge

ctrl+← cursor moves to the beginning of the word on the left

ctrl+→ cursor moves to the end of the right word

Ctrl+w Close the current editer (Windows closes the Open dialog box is also this, as well as QQ, will, browser, etc. are)

Ctrl+l text editor go to line


Refactoring

Alt+shift+r Renaming a method name, property, or variable name

ALT + SHIFT + L refactor anonymous variables into famous variables

ALT + SHIFT + M Refactor the selected code snippet to a method

Debugging

F11 entering the debug state

F5 One-step jump in

F6 Single-Step Skip

F7 Single Step Back

F8 continue

Ctrl+shift+d display the value of a variable

Ctrl+shift+b setting or removing breakpoints in the current line

Ctrl+r Run To line (super easy to use, can save a lot of breakpoints)

Code syntax coloring ALT + SHIFT + O


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.