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