Question: So I have a project in Intellij and I have a tree structure on the left hand side which list out the project name,folders,files etc.

And at the top of the main project, I have my project name in the format of:

```
 Project Name [XXX] C:\Users\xxx\xxx\xxx\ProjectName

```

The problem is [XXX] where I can't find any resources as to what it is and I want to rename it or remove it completely. Any idea what do I need to change?

What is that bracket name represents?

Things I have tried:

Renaming the .iml file

Renaming project name in Project Structure

Answer: 
It's the **module name** that can be configured automatically from the `pom.xml` `<artifactId>` property or defined manually:

[![module name](https://i.stack.imgur.com/P2uo9.png)](https://i.stack.imgur.com/P2uo9.png)

You can switch the view to some other mode like **Packages** or **Project Files** to not display the module names.
Besides `<artifactId>` in pom.xml also intellij's project specific iml file name is taken in sequence(intellij 2020.3).