IntelliJ IDEA creates the relationship between project and module

Using IntelliJ-based IDEs, such as phpstorm and android studio, will be confused about the relationship between project and module. To sum it up in a simple sentence:
The Project in the IntelliJ system is equivalent to the workspace in the Eclipse system.
The Module in the IntelliJ system is equivalent to the Project in the Eclipse system.
A Project in IntelliJ can include multiple Modules
. A Workspace in Eclipse can include multiple
Projects. Phpstorm seems to weaken the existence of Module, and delete the New Module menu item under the File menu directly.
It still exists in Android studio.
In Android studio, a Project represents a complete APP, and Module represents some dependent libraries or independently developed modules in the APP. For example, you can create a new library as a module, and then right-click on the main APP to add a module dependency in the Dependencies of the open module setting. Then the classes in the module can be used in the main APP.

Guess you like

Origin blog.csdn.net/qq_44346427/article/details/109268036