Ivan Aracki
Ivan Aracki

Reputation: 5361

Renaming a module in IntelliJ IDEA

I work on spring boot application. When I click on module->Refactor/Rename I get two options:

enter image description here

I know what renaming directory is, but what about renaming module? What does this change do?

Upvotes: 4

Views: 10016

Answers (1)

Justin Lange
Justin Lange

Reputation: 907

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

If you change your project name to something completely different, you might want to rename your modules as well. It just renames the module.

Upvotes: 3

Related Questions