In the Java project in Eclipse. Settings folder function

Source: Internet
Author: User

When working today, it took 6 hours to get to the. Settings folder for the wrong operation. Settings folder. After reviewing the information, the. Settings is organized as follows:

Just like the name setting, it is the configuration file that stores various plugins. With these file constraints you can better use the IDE for coding. So, these files are only used to configure the environment.

1. Org.eclipse.jdt.core.prefs

The file is a compile-related configuration, in general the following is the case:

  

You can manually modify the file, add some additional configurations, and then restart Eclipse to take effect. For example, before the parameters of the setter method and constructor that are automatically created by Eclipse are prefixed, simply add org.eclipse.jdt.core.codecomplete.argumentprefixes=new to the end of the file. You can precede all parameters of the automatically created method with the new prefix.

2. Org.eclipse.jdt.ui.prefs

The file is a code style-related configuration that records settings for some formatting aspects of the project through the UI interface of Eclipse. The contents are as follows:

3, Org.eclipse.core.resources.prefs

This file is used to configure how the item is encoded, and if the encoding is modified in properties->resources, the value in this entry will change accordingly.

  

4,. Jsdtscope

This file is used to display the deployment of resources in a project

In addition: 5,. classpath file

In general, this document is the configuration of the entire project operating environment.

From the data we can easily see that the above describes the project's dependent files:

      1. The exact location of the source file (kind= "src")
      2. Operating system environment (kind= "con")
      3. Specific location information for the project's library (kind= "Lib")
      4. In each LIB's XML child node, there is additional configuration information about it (for example, the "Javadoc_location" I configured)
      5. Output Directory of the project (kind= "Output")
6.project File

If you add a lot of additional plugins to your project during the development process, it will inevitably cause your eclipse to start slowly. In this case, you can remove some plugins from the file, but you will be able to load those plugins when you open those associated files.

From the data, we can see that these configurations are primarily about describing the basic engineering information:

    1. Project Name <name></name>
    2. Project Comment Description <comment></comment>
    3. Additional Eclipse plug-ins required by the runtime <natures></natures>, and their specific loading method information <buildSpec></buildSpec>

Reference article: http://www.iteye.com/topic/257120

http://blog.csdn.net/jmyue/article/details/11400779

In the Java project in Eclipse. Settings folder function

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.