JONKI
JONKI

Reputation: 605

How to change the module name in a project in IntelliJ?

I use IntellIj. I have a project created https://github.com/JonkiPro/REST-Web-Services. I decided to change the name of the project and all modules. I change the name of the project without any problem. However, the problem is when changing the module name.

enter image description here

I want to change the name of the web module to the popcorn-web name and the same with other modules. However, after confirming OK the name change, nothing happens. The name of the module is the same as the old one and does not change to a new one.

How do I change the module name?

Upvotes: 1

Views: 5412

Answers (2)

Rjbcc58
Rjbcc58

Reputation: 317

You have renamed the module but not the directory itself. If you open up that directory in the file explorer you should see a popcorn.web.iml file.

Upvotes: 0

James Palfrey
James Palfrey

Reputation: 803

Shift + F6 once you've clicked on the module :)

Upvotes: 2

Related Questions