I'm using vscode ESP IDF with clangd.
There is one problem though after each build I have to manually restart the cland language server because it is shows errors / warnings, which is tedious.
I do this by running the command: clangd: Restart language server which fixes the include / other errors.
Proposed solution:
include automatic restart of clangd server after build command when the idf project is configured with clangd.
Reproduce:
open example idf project hello-world;
Configure for use with ESP-Clang (ESP-IDF: Configure project for ESP-Clang);
Notice errors / warnings about missing includes;
Restart Clangd server to fix the errors / warnings (clangd: Restart language server)