The eclipse settings include many aspects, different developers, different project needs, and may not have the same settings for Eclipse. The following is only a few of my basic settings to do some records to make a memo. Later, the relevant content will be updated gradually for reference only.
1. Download eclipse
Website: http://www.eclipse.org/downloads/
Eclipse is divided into different versions, each with a slightly different development application area. Some suitable for web application development, some suitable for plug-in development, some suitable for desktop program development. Developers can download different versions of Eclipse based on actual development needs.
In different versions, the settings below can be used as a reference.
2. Configure Eclipse
Click Window---Preferences to enter Eclipse's configuration interface
After entering, the configuration interface looks like this:
1> Setting the workspace encoding
The general engineering code is UTF-8, the eclipse default configuration of the workspace encoding is not UTF-8, refer to the following ways to set.
2> Configuring the JRE
Eclipse typically comes with a JRE. In most cases, however, users expect to choose their own installed JDK environment. As shown in the configuration interface of Eclipse,
Navigate to the intalled jres option and click Add.
Select a standard VM,
Select the installation path for the JDK.
After selecting done, the effect looks like this:
Default JRE with new settings selected
At this point, the JRE configuration setting is complete.
3> configuration file Default Editor
By default, Eclipse has default settings for the association editor for files in projects, but in some cases we prefer not to use the default editor. For example, for a JSP file, the default file association editor is the visual editor that comes with Eclipse.
As a result, double-clicking on a JSP file opens visually, with slow loading and poor user experience. In view of the above, the developer may re-set the file's associated editor to suit their needs. The content is for informational purposes only.
4> Configuring Fonts
The following is a custom modification of Eclipse's default font.
5> Display Line numbers
The line numbers are shown in the following ways:
Java development Environment Build-Eclipse Basic Configuration