I want to change project title(demo) in IntelliJ IDEA but I can't find a way to change it, the directory has renamed but the title doesn't change
in File > Open Recent
show demo name!
To rename the project, simply right-click the project and select "Refactor/Rename...". Fill in the new name and click OK.
Go to src/main/java/yourprojectname folder, right click and select Refactor->Rename.
You should change demo
to your project name in following path: .idea/.name.
Then restart the IDE.
If it is Gradle or Maven project you should change the name in Gradle or Maven configuration. E.g. in settings.gradle
:
rootProject.name = 'someName'
or in Maven root pom.xml
:
...
<artifactId>someName</artifactId>
...
If project does not use any build systems rename it in File | Project Structure | Project | Project name: field:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With