IDE: VSCode + PlatfotmIO + ESP32 IDF
Hi,
I hope you can help me.
Initially, I desired to post this in VS Code support, but I’ve found PlatformIO community more appropriate cause an issue is related more with Platformio than VS Code.
I want VS Code’s IntelliSense to make GoTo Declaration\Definition in all IDF SDK
directories. But not all directories is used in project, so IntelliSense doesn’t go there.
VS Code Community recommends to add needed paths to c_cpp_properties.json
of the project.
But in c_cpp_properties.json
there’s a notation:
“!!! WARNING !!! AUTO-GENERATED FILE, PLEASE DO NOT MODIFY IT AND USE Redirecting...”
Yes, I’ve tried append needed path/*
there, but c_cpp_properties.json
is rewritable after reopen of VS Code, and after project rebuilding.
I think advices to use build_flags in platformio.ini
is acceptable only for headers nor source files.
So How could I add src pathes for IntelliSense using PlatformIO in VS Code?
Thanx in advance, guys.