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

本文介绍了IntelliJ IDEA中Project和Module的基本概念及其关系。Project作为最高级组织单位,包含源代码、SDK、配置文件等,可包含一个或多个Module。Module是项目的一部分,可独立编译、运行、测试,常用于大型项目的功能划分,一个Project可有多个Module,彼此可能有依赖关系。在创建项目时,需指定Project和Module的名称及存储位置。
摘要由CSDN通过智能技术生成

1、对于 Project,IntelliJ IDEA 官方是这样介绍的:

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.

2、对于 Module,IntelliJ IDEA 官方是这样介绍的:

    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 mor

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值