When IDEA creates a module, square brackets appear after the name
Problem Description
There is such a problem with the name of my module project.
SpringMVC-demo03[springMVC-demo03(1)]
I can’t bear the obsessive-compulsive disorder. I want to be uniform. Change it
Cause Analysis and Solutions
reason
Arifactid and module names are different when creating submodules
Solution
method 1
In Project Structure, change the module name Module Name to be the same as ArtifactId
Method 2
Right-clicking the module->Refactor->Rename to change the directory name to Module name can also solve the problem. This is actually to change the ArtifactId name
to Module name
Method 3
Modify the **.iml file name in the current submodule to achieve the removal effect, because I found that I have 2 .iml files, so I just delete one of the incorrect names.