I am using VSCode 1.78.2 I have a C project, based on a Nordic example. I would like to take a copy of this project and modify it etc. So the question is - how do you copy a project in VSCode, so that any dependencies etc, refer to the new project, and not the original? I looked at this old answer, but my version of VSCode does not seem to offer any Project - Export Template option
I had not worded this issue very well.
Essentially, I had a project (from Nordic Semiconductor nRF examples), and in Windows Explorer, I copied it to another folder, then opened this copied project in VSCode, built, edited etc. - but found that when I edited the main.c in the copied project, it was modifying the main.c in the original project.
I think I have everything working now.
What I did was, after opening the copied project in VSCode, I deleted the build configuration, and defined a new one - rebuilt - and all seems to be ok now.