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: 
My approach to resolve this issue was similar to the previous poster. After changing the module name in Project Structure/Modules (command + ;), I was still seeing the old module name within the project name. What made a difference for me was assigning the rootProject.name to the new module name in settings.gradle:

[changing module name in settings.gradle](https://i.stack.imgur.com/4trfq.png)
If you are using Gradle in your project and the Rename option in IntellijIDEA didn't help as in other answers, try to change parameter rootProject.name in file settings.gradle:

[![settings.gradle here](https://i.stack.imgur.com/fLzpG.png)](https://i.stack.imgur.com/fLzpG.png)