Error with include path in c_cpp_properties.json
Posted: Mon Oct 16, 2023 3:14 am
I'm trying to learn ESP32 using ESP-IDF and VSCode.
After installing ESP-IDF extension, I installed ESP-IDF 5.1.1. No errors happened.
Then I created new project using template, and after project was created there is a lot of strange problem and errors happen, so I check C/CPP extension settings. That's when I see most of the include paths (which is created inside c_cpp_properties.json automatically by ESP-IDF) were invalid. The paths were strange because it included my workspace location in the path.
Is this ESP-IDF issue or C/CPP extension issue? What can I do to fix this?
After installing ESP-IDF extension, I installed ESP-IDF 5.1.1. No errors happened.
Then I created new project using template, and after project was created there is a lot of strange problem and errors happen, so I check C/CPP extension settings. That's when I see most of the include paths (which is created inside c_cpp_properties.json automatically by ESP-IDF) were invalid. The paths were strange because it included my workspace location in the path.
Is this ESP-IDF issue or C/CPP extension issue? What can I do to fix this?