Eclipse Getting Started operation

Source: Internet
Author: User

Editing tools: Editplus-eclipse
Download: www.eclipse.org official website download
Existing Java, C language development tools for each version, direct download does not need to install, run directly, only need to install the JRE virtual machine environment.
can provide a number of external interfaces, docking multiple plug-ins. can develop eclipse-related plugins

Wake up Eclipse feature is not very powerful, there is a myeclipse tool (fees required)

Direct entry Question

Open the "Eclipse.exe" software,
1, open the workspace workspace, select the directory to store the project, that is, the post-working directory

2, the IDE's full name editing environment, multiple windows constitute an attempt to

3, File-new Project-java project-finish

After you create a new project, the SRC, JRE System libriary catalog files are created automatically.
4, later there will be more than one class, it is necessary to create a package, usually a domain name to name the package, you can directly create class

You can also create a package at the same time that the class is created (the package name is as unique as possible, and the domain name is used to avoid duplication with the class name)

5. Run the Hello World project

Package Ceshi;

public class HelloWorld {
public static void Main (string[] args) {
System.out.println ("Hello world!");
}
}

Click the right mouse button, Run As-java application (Java application), enter ' Hello world~ '

6. Basic settings and shortcut keys

Basic settings

window-preferences-java-edit-hovers-combined Hover, remove the hover hint setting, use the F2 key to choose freely

Window-preferences-general-editors-text editors-show Line numbers, display row number, you can also click the right button to temporarily display the line number

Window-preferences-general-appearance-color and Fonts-java-java Editor Text Font (set to ... ), set the font and color

Shortcut keys

alt+/function Auxiliary Key

Ctrl+1 Small Fork Help

Ctrl+i cursor moves to the default code location

ctrl+/Comment or cancel a single line comment

Eclipse Getting Started operation

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.