Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 671
Ronny Kay Avatar asked Mar 06 '15 22:03

Ronny Kay


People also ask

What is directory-based format?

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.

What is project format in IntelliJ?

Project formats In IntelliJ IDEA, there are two types of formats in which a project's configuration can be stored — the file-based format and the directory-based format.

What is directory in IntelliJ?

Configuration directory The IntelliJ IDEA configuration directory contains user-defined IDE settings, such as keymaps, color schemes, custom VM options, platform properties, and so on.

What is the difference between project and module in IntelliJ?

In IntelliJ IDEA, a module is an essential part of any project – it's created automatically together with a project. Projects can contain multiple modules – you can add new modules, group them, and unload the modules you don't need at the moment.


1 Answers

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.

like image 184
yole Avatar answered Sep 27 '22 03:09

yole