For more information about Schedule for Addition in IntelliJ IDEA, intellijschedule

Source: Internet
Author: User

For more information about Schedule for Addition in IntelliJ IDEA, intellijschedule

This is often the case when we use IntelliJ IDEA:

After checking out a project from SVN and using IDEA to open the project for the first time, the IDEA will pop up the following selection box:

As shown in, let's select whether to add the XXX. iml file to the SVN version. Here, we only have some questions about what the XXX. iml file is? This file does not exist in the project!

Actually, XXX. the iml file is the configuration file automatically generated by IDEA for the project we opened for the first time. For example, our project name is accounting-hessian, then IDEA automatically produces a configuration file named accounting-hessian.iml for our project. IDEA automatically adds this configuration file to the Project No matter whether we select No or Yes. The difference between the two is: if we select No, when we submit code to SVN, IDEA automatically ignores this file when retrieving project version changes. If Yes is selected, when we submit code to SVN, IDEA will add it to the version change of the project.

Similarly, when we create a file in the project, the IDEA will also pop up the selection box:

As shown in, when we create a Java class named IdeaTest, IDEA provides the same prompt. Of course, the premise is that we did not select Remember, don't ask again. If this option is selected, no prompt will be given, and our selection at that time will be used by default.

Finally, we try to submit the code to test the IDEA performance:

As shown in, when No is selected for the first bullet box and Yes is selected for the second bullet box, IDEA ignores the automatically created XXX When submitting code. iml file and include the created IdeaTest in the project version change. In addition, observe the New: 1 Unversioned: 0 of 174 in the lower right corner. We can also see the IDEA search results. Only one New file is displayed, that is, a New file is created.

Tip: For the XXX. iml configuration file automatically generated by IDEA, we strongly recommend that you do not submit it to SVN along with the code!

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.