cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE 1.16.0 - remove project w content - does not remove folder

JanneKiiskila
Associate III

If you have imported an project/example to your workspace and you delete it - ticking the box to delete the contents - it does not actually delete the folder.  Say you imported the Nx_Network_Basics example

~/STM32CubeIDE$ ll workspace_1.16.0/
total 16
drwxrwxr-x 4 jannek jannek 4096 Aug 19 23:21 ./
drwxrwxr-x 3 jannek jannek 4096 Aug 19 19:20 ../
drwxrwxr-x 3 jannek jannek 4096 Aug 19 19:19 .metadata/
drwxrwxr-x 8 jannek jannek 4096 Aug 19 23:21 Nx_Network_Basics/

You then choose to delete it.

JanneKiiskila_0-1724144939119.png

You chose to delete the resources and also projects contents on disk.

JanneKiiskila_1-1724144966361.png

and press OK, you would assume it's all gone - right?

Nope, the folder remains.

This will then prevent successful import of the same project again, as the folder already exists (which is annoying).

You must delete the folder yourself manually.

This is a bug.

- Might be in Eclipse itself.

- Easy fix: link the known issues of STM32Cube IDE with the known issues of Eclipse itself, too?

- Proper fix: delete also the folder.

 

 

 

 

3 REPLIES 3
Andrew Neil
Evangelist III

@JanneKiiskila wrote:

This is a bug.


I'm not so sure?

You might also have "non-project" content in there ... ?

TDK
Guru

It deletes the folder for me. Win11. Could be something else going on. What's left in the folder that it leaves behind?

If you feel a post has answered your question, please click "Accept as Solution".
JanneKiiskila
Associate III

I am using Ubuntu 22.04, seems it does not even delete the files/folders inside that folder now...

jannek@jannek-P720:~/STM32CubeIDE$ ll workspace_1.16.0/Nx_Network_Basics/
total 424
drwxrwxr-x 7 jannek jannek 4096 Aug 20 17:05 ./
drwxrwxr-x 4 jannek jannek 4096 Aug 20 12:23 ../
drwxrwxr-x 3 jannek jannek 4096 Aug 19 18:59 AZURE_RTOS/
drwxrwxr-x 4 jannek jannek 4096 Aug 19 18:59 Core/
drwxrwxr-x 5 jannek jannek 4096 Aug 20 12:23 Drivers/
-rw-rw-r-- 1 jannek jannek 1107 Aug 20 12:23 .extSettings
drwxrwxr-x 3 jannek jannek 4096 Aug 20 12:23 Middlewares/
-rw-rw-r-- 1 jannek jannek 309346 Aug 20 12:23 .mxproject
drwxrwxr-x 4 jannek jannek 4096 Aug 19 18:59 NetXDuo/
-rw-rw-r-- 1 jannek jannek 13606 Aug 20 12:23 Nx_Network_Basics.ioc
-rw-rw-r-- 1 jannek jannek 64952 Aug 19 18:59 readme.html
-rw-rw-r-- 1 jannek jannek 6965 Aug 19 18:59 README.md

I had modified ONE of the files to set the Wi-Fi ssid and password, perhaps that's triggering it? No idea. But, if I say delete and explicitly chose to delete things then it is a conscious choice I made.