I've tried configuring Visual Studio Code for IDF development on Linux and it works really well (for example Eclipse would fail to resolve portTICK_PERIOD_MS for me, while VSCode resolves it nicely).
Here's what I had to do to get basic functionality working:
Install C/C++ extension for VSCode
Create .vscode/c_cpp_properties.json with header search paths:
It's not perfect, as you have to manually specify include path, path to IDF and path to the toolchain, but same goes for Eclipse.
Do you guys think it's worth adding to the docs? Of course question of what IDE is better is a personal choice, but considering that VSCode is very popular, cross-platform and works really well, I think it's worth adding to the getting started docs.
Hey guys,
I've tried configuring Visual Studio Code for IDF development on Linux and it works really well (for example Eclipse would fail to resolve
portTICK_PERIOD_MS
for me, while VSCode resolves it nicely).Here's what I had to do to get basic functionality working:
.vscode/c_cpp_properties.json
with header search paths:.vscode/tasks.json
with a build task and error parserIt's not perfect, as you have to manually specify include path, path to IDF and path to the toolchain, but same goes for Eclipse.
Do you guys think it's worth adding to the docs? Of course question of what IDE is better is a personal choice, but considering that VSCode is very popular, cross-platform and works really well, I think it's worth adding to the getting started docs.