cancel
Showing results for 
Search instead for 
Did you mean: 

How to move a local VSCode STM32 project to different location

ETX
Associate

 

Hi,

I'm quite new to VSCode but I really like it.

Now I need to copy a working local STM32 project in VSCode (with STM32 extension) to a different PC.

I tried to copy the complete project folder (including all files and folder like .vscode folder, build folder, .ioc-file and so on) and then adapted all paths I could find, but no luck. Nothing works anymore. Neither CubeMX code regeneration nor building or debugging.

What is the right way to do this, to get a completely working local copy at a different location?

Thanks!

 

2 REPLIES 2
Sarra.S
ST Employee

Hello @ETX

On the new PC, all tools and extensions must be installed and set in settings.json and launch.json

could you share what errors you're getting? 

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.

ETX
Associate

Hi Sarra,
thanks for your reply.
I managed to move the complete project folder to a different location with notepad++, by using Find&Replace for the folder paths on all files of the complete project folder. Now building and debugging is working fine.
This might be quite awkward, but I'm new to vscode and didn't find a better way for moving or copying a vscode project folder (local without git) to a different location or machine.
Any easier procedure is appreciated.