platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT

Home Page:https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide

Repository from Github https://github.complatformio/platformio-vscode-ideRepository from Github https://github.complatformio/platformio-vscode-ide

Extension overwrites other configurations in c_cpp_properties.json when setting info

CWood-sdf opened this issue · comments

I have a c++ project that has an embedded component that i use platformio to build for. However, I also repackage parts of the program as a desktop executable and a python module to be able to test those sections on my computer when I do not have access to a board. I am trying to setup a build tool that automatically generates lsp info for the python module c++ files and the desktop executable files and I would like to use different configurations inside the .vscode/c_cpp_properties.json file. Unfortunately, everytime platformio regenerates the configuration information, it deletes any other configurations