7-23 summarize Eclipse settings and common shortcut keys

Source: Internet
Author: User
Tags tomcat server

Start learning the advanced basics of Java today.

The first is the English version of Eclipse configuration and shortcut keys. JDK configuration. Configure the JDK to be in the environment variable of path.

The use of window interfaces such as the frequently used marks Servers Console Outline Project Explorer. Open perspective can be configured

The use of commonly used features. The previous Chinese version of Eclipse has more ctrl+s saved. CTRL + Z undo. Table shift+table indent. CTRL + C CTRL + V copy paste.

Ctrl + D Delete when moving forward

Ctrl + 1 quick fix.

Ctrl +/single-line comment, then cancel again.

Ctrl + O Display Outline Window

Ctrl + T shows the inheritance structure of the current class

Ctrl + F Find replacements

Ctrl + H Global Lookup

Alt + Shift + S can automatically generate a get set. HashCode.equals.toString. Constructors and other methods.

Ctrl + Shift +/Multiline Comment

Ctrl + Shift + \ Cancel multiple lines of comment

Alt +← Previous Edit position

Alt +→ Next Edit position

Alt + ctrl+↓ Copy the current line to the next line

Importing import everywhere Export

Windows Perfenrences can be set up inside.

Set your own code format, font, compiler version (set UTF8)

    • Font settings (font)
    • Character encoding settings (encoding)
    • Use spaces for code indentation (formatter)
    • Save as format code (SAVE)
    • Unformatted Comment (Formatter)
    • JRE Settings (JRE)
    • Compiler version settings (compiler)
    • Tomcat server settings (server)
    • File open Mode (associations)

7-23 summarize Eclipse settings and 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.