15

Can someone clearly explain what is "out" and ".idea" folders in the project structure indicate? Though I'm not a beginner in Java, I need help understanding how all the components in a typical IDE work together. I previously used BlueJ which was very easy to use, but it masked all the background processes which I have difficulty understanding now.

Edit: Sorry I didn't check thoroughly for ".idea" but the "out" folder hasn't been defined in a general sense.

2

3 Answers 3

20

Read official doc here :- .out :- .out folder intellij

And .idea :- .idea folder

In Short all the project specific files goes to .idea folder and it will be recreate if you delete the project.

And .out folder contains the output of your project when you build/compile it ie contains .class files.

2

When you use a JetBrains product such as Intellij Idea all the project specific settings are stored in the directory .idea. Here is a link from JetBrains documenting .idea directory: Documentation.

As for the out folder it contains all your compiled classes, when you run your program from the IDE, all your classes are compiled in the out directory.

0

enter image description here

Lets consider the basic project setup.

  1. Here src folder contains all the class files i.e java files.In this example its main.java
  2. out folder is the project output folder.This folder will be organised hierarchically, which is similar to the src folder.This folder contains the compiled class file.In this example it is main.class out_Reference
  3. idea directory that keeps project settings.idea_Reference

 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.