# IntelliJ IDEA 中 Project 和 Module 的概念及区别

A project is a top-level organizational unit for your development work in IntelliJ IDEA. In its finished form, a project may represent a complete software solution. A project is a collection of:

• Your work results: source code, build scripts, configuration files, documentation, artifacts, etc.
• SDKs and libraries that you use to develop, compile, run and test your code.
• Project settings that represent your working preferences in the context of a project.

A project has one or more modules as its parts.

• A module is a part of a project that you can compile, run, test and debug independently.
• Modules are a way to reduce complexity of large projects while maintaining a common (project) configuration.
• Modules are reusable: if necessary, a module can be included in more than one project.

• 当为单Module项目的时候，这个单独的Module实际上就是一个Project
• 当为多Module项目的时候，多个模块处于同一个Project之中，此时彼此之间具有互相依赖的关联关系。

• 标注 1Project name，项目名称；
• 标注 2Project location，项目存储地址；
• 标注 3Module name，模块名称；
• 标注 4Module file location，模块存储地址。

———— ☆☆☆ —— 返回 -> 史上最简单的 IntelliJ IDEA 教程 <- 目录 —— ☆☆☆ ————

08-31 5万+
10-14 5万+
07-10 2万+