Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should the .idea folder be kept under source control? [duplicate]

Possible Duplicate:
Intellij Idea 9, what folders to check into (or not check into) source control?

The question is general, although specifically I'm interested right now in PyCharm, not Java development.

like image 768
ripper234 Avatar asked Mar 19 '11 14:03

ripper234


People also ask

Is it safe to delete .idea folder?

There is no problem in deleting this. It's not only the WebStorm IDE creating this file, but also PhpStorm and all other of JetBrains' IDEs. It is safe to delete it but if your project is from GitLab or GitHub then you will see a warning.

Should .idea folder be checked?

Jetbrains has some official guidance on which files should not be checked in, and which files should probably not be checked in, depending on your usage. According to that page, you should check in all files in the . idea directory except: workspace.

What is the .idea folder for?

Image created by Adobe Ideas, a vector image editing touch app for Android tablets; can include vector objects, layers, color themes, and other graphics; commonly used for quick hand editing before completing final edits with the desktop versions of Photoshop and Illustrator.

What is .idea folder in Android Studio?

.idea folder is storing the settings for your IDE (Development Environment) - so the settings of Android Studio how to visualize your project.


2 Answers

No, because it's not guaranteed that other developers also use Intellij idea. Source control has to contain only necessary files to build project.

like image 79
Alexander Oleynikov Avatar answered Oct 05 '22 10:10

Alexander Oleynikov


Yes, because all the developers that use IDEA should be using the same project files. If other developers use other IDEs, they should add their project files to Source Control also. After all, we "need" the project files to build the project, don't we?

like image 29
Gorka Siverio Avatar answered Oct 05 '22 11:10

Gorka Siverio