(solved) VS Code: proper location for c_cpp_properties.json?
Posted: Fri Oct 01, 2021 4:43 pm
Hi all -
I thought I had my IDE set up properly, but now I'm not so sure.
I configured it according to the instructions, and can now build and flash my app. I wanted to try an example project, so I opened that folder, and to my surprise, the system couldn't find the header files within the IDF. Doing a little more looking, I realized that my c_cpp_properties.json file is within the project directory path.
I ran the "ESP-IDF Select Where to save configuration settings," and chose "Global." I expected this to move the c_cpp_properties.json file to my home .vscode directory, but it didn't.
What is the most straightforward way to remedy this? Should I just copy (and edit) the properties file? I'd like to set this up so that every project I open at least knows where to look for the IDF.
Thanks...
I thought I had my IDE set up properly, but now I'm not so sure.
I configured it according to the instructions, and can now build and flash my app. I wanted to try an example project, so I opened that folder, and to my surprise, the system couldn't find the header files within the IDF. Doing a little more looking, I realized that my c_cpp_properties.json file is within the project directory path.
I ran the "ESP-IDF Select Where to save configuration settings," and chose "Global." I expected this to move the c_cpp_properties.json file to my home .vscode directory, but it didn't.
What is the most straightforward way to remedy this? Should I just copy (and edit) the properties file? I'd like to set this up so that every project I open at least knows where to look for the IDF.
Thanks...