cancel
Showing results for 
Search instead for 
Did you mean: 

How do I rename (proper way) an STM32 project?

DMårt
Senior II

How do I rename (proper way) an STM32 project?

If I press F2 I can rename the name of the project, but the project folder still have the same name. If I change the name of the folder, then I get errors.

Why?

Is there a proper way to rename a project?

I'm using STM32CubeIDE 1.3.0.

1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

Don't know if that's the proper way, but if you rename (F2) in STM32cubeIDE first, delete the project form workspace (but not from file system ;-), rename the folder and open the project in the renamed folder again, it will be re-added to the workspace and you have completed the task, i.e. no more errors. Existing Debug/Run configurations must be renamed separtely.

View solution in original post

2 REPLIES 2
KnarfB
Principal III

Don't know if that's the proper way, but if you rename (F2) in STM32cubeIDE first, delete the project form workspace (but not from file system ;-), rename the folder and open the project in the renamed folder again, it will be re-added to the workspace and you have completed the task, i.e. no more errors. Existing Debug/Run configurations must be renamed separtely.

DMårt
Senior II

It works!