2025-12-27 3:21 AM - last edited on 2025-12-31 10:22 AM by Andrew Neil
An intermittant bug... (as it happens it doesn't occur as I am reporting this issue).
Open up a STM32CubeIDE project.
Navigate to a project Source Folder, e.g. XYX...Core...Src
Highlight a source file, e.g. "main.c",
right-click "Copy", right-click "Paste". Click "Ok" to the suggested filename "main2.c".
Double-click "main2.c" to edit it, You can't cut or modify any text in the file, nor type in any new text.
Close STM32CubeIDE and launch it again... the file is now editable.
The bug appears perhaps 2% of the time, not a deal breaker but a bit annoying.
2025-12-31 9:27 AM
Hello Bags,
Thank you for reporting this issue. I understand that it does not occur consistently on your side.
Could you please try deleting the cache folders such as .settings and the build directories, then attempt again?
Regards.
2025-12-31 11:01 AM
When the issue occurs, you just have to close down STM32CubeIDE and then relaunch STM32CubeIDE. No fiddling of files required.
Note, when it happened again a few days ago, I found that I could click in the errant text file and insert\delete text characters using the keyboard, but mouse highlight cut & paste mechanism didn't work at all. This is a slightly different fault from the original which prevented any text modification at all.
Fault has occurred twice in 5 days.