Common Shortcut Keys provided in Eclipse

Source: Internet
Author: User

Name

Function

F3

Jump to the declaration of class or variable

F12

Activate Editor

Alt + up and down arrow keys

Move the selected row or multiple rows up or down

Alt + left and right arrow keys

Jump to the editing position of the previous or later time and use more code tracking

Alt +/

Content assistance

Ctrl +/

Comment or cancel a comment

Ctrl + 1 (number 1)

Quick correction

Ctrl + D

Delete the code of the row where the cursor is located

Ctrl + E 

Quick Switch Editor

Ctrl + O 

Open a small window of the View

Ctrl + S

Save files

Ctrl + W

Close a Single Window

Ctrl +

Click to track the source code of methods and Classes

Ctrl + M 

Maximize the current view or editor

Ctrl + Q 

Back to the Last edited location

Ctrl + I

Correct the indentation of the row indicated by the selected text

Ctrl + L

Go to specified row

Ctrl + F6

Switch to the next editor window

Ctrl + Shift + F6

Switch to the previous editor window

Ctrl + Shift + F

Format the code. If you partially select the Code, only the selected code is formatted.

Ctrl + Shift + O

Fast import class path

Ctrl + Shift + X

Converts the selected characters to uppercase letters.

Ctrl + Shift + Y

Converts the selected characters to lowercase letters.

Ctrl + Shift +/

Comment code block

Ctrl + Shift + \

Uncomment a code block

Ctrl + Shift + T

Find classes in the project

Alt + Shift + R

Rename the selected Element

Alt + Shift + J

Add Javadoc comments

Javadoc notes are as follows:

 

*

*/

 

)

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.