Ronny Kay
Ronny Kay

Reputation: 193

what is the difference between directory-based format project and file-based format project in intellij

I went through the IntelliJ IDEA documantation here http://www.jetbrains.com/idea/help/project.html and it describes the structure of a directory-based format project and a file-based format project, why should i prefer one over the other?

Upvotes: 12

Views: 2575

Answers (1)

yole
yole

Reputation: 97328

The file-based format was the only one available in older versions of IntelliJ IDEA. The directory-based format was introduced later, and its main advantage is that it's easier to store project files in the version control system, because the project data is split over multiple files, and merge conflicts are less likely.

The downside is relatively minor: you can't open a directory-based project by double-clicking it in a file manager of your operating system.

Upvotes: 20

Related Questions