2024-01-16 03:04 PM
Hello, I have been using the VSCode STM32 extension on my project for some time and it has been working well. Today, I was doing some major refactoring of some of the code, and this required deleting one of the files no longer required. Unfortunately, the extension did not recognize the file had been deleted and the build failed when it could no longer find the file.
I fixed the issue by going back to STM32CubeIDE and refreshing the project. Then I returned to VSCode, opened my project and performed an "Import local project."
While this fixed my issue, it seems the extension should be able to cope with a file being deleted without having to return to STM32CubeIDE.
Did I miss some other option in the extension?
Sid
2024-01-16 03:20 PM
The extension isn't made by ST. Perhaps report it on the project's page with enough information to replicate the issue.
https://github.com/bmd-studio/stm32-for-vscode
2024-01-16 04:43 PM
@TDK The copyright shown by the extension is ST MicroElectronics, with a link to st.com!
Sid
2024-01-16 08:17 PM
Oh, looks like there is an official one now. There wasn't for a long time. Sorry for the noise.
https://community.st.com/t5/other-tools-mcus/vscode-for-stm32-extension-1-0-0-released/td-p/143795