2026-01-13 10:30 PM
I am unable to change the project name in STM32CubeIde, if i change it
and try to open it i get error windows cannot find the file. They are all linked files, may be that is causing the issue, what changes i have to do avoid this error. The project is generated using MCSDK and after generation i am trying to change the project name in CubeIde.
Solved! Go to Solution.
2026-01-14 9:33 PM - edited 2026-01-14 9:36 PM
It is very easy. In the CubeIDE right click the project and select Close. Then Delete but do not check the box to delete files. Rename the project folder if you want.
Then open the .project file in editor (notepad) and edit the name:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SET_NEW_NAME_HERE</name>
<comment></comment>
............Save the file. Now import the project again into CubeIDE.
Debug and run configurations for the old name need to be re-created manually.
2026-01-13 11:15 PM
Hello @STuser2
Thank you for posting.
If your goal is to create another project with a different name:
1- In the file system (Explorer):
Copy the whole MCSDK project root folder to a new folder and rename it
2- In STM32CubeIDE:
File → Import → Existing Projects into Workspace.
Select the new folder.
THX
Ghofrane
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-01-13 11:54 PM
I think ther is no IDE of similiar complexity like Eclipse (CubeIDE) which supports such a project renaming.
The initial project name is also part of subfolders, environment variables and make files created, which would all have to be changed.
The simplest option is to create a new project, and copy all required source over.
And probably delete the old project afterwards.
2026-01-14 7:28 AM - edited 2026-01-14 7:29 AM
Thank you both for replying, even if copy the entire folder say Proj_One and CubeIde project name is Proj_One_CubeIde to Proj_Two folder and if i open the project by selecting .cproject in cube ide i still see the project name as Proj_One_CubeIde and not the one i want only the folder name is changed not the cube ide project.
The solution provided by @Ozone is the only way, i have not tried but seems to be little complex, if that is the only solution i follow it.
2026-01-14 9:33 PM - edited 2026-01-14 9:36 PM
It is very easy. In the CubeIDE right click the project and select Close. Then Delete but do not check the box to delete files. Rename the project folder if you want.
Then open the .project file in editor (notepad) and edit the name:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SET_NEW_NAME_HERE</name>
<comment></comment>
............Save the file. Now import the project again into CubeIDE.
Debug and run configurations for the old name need to be re-created manually.
2026-01-14 10:07 PM
Yes it works, thank you and easy as well.