Skip to main content
Explorer II
May 15, 2025
Question

There's an issue generating c_cpp_properties.json.

  • May 15, 2025
  • 2 replies
  • 507 views

newton_1232131_0-1747292868731.png

Every time I launch VS Code, some plugin (who knows which one is the culprit!) always deletes the first line: '"version": 4,', causing VS Code to throw an error. It's driving me nuts!

2 replies

Julien D
ST Employee
May 15, 2025

Hi @newton_1232131,

Thanks for reporting this, I just created an internal ticket. It will hopefully get fixed in next release.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ST Employee
May 15, 2025

In the meantime, You can try to disable the following setting to avoid configuration files regeneration:

 

MNASTM_1-1747297391912.png

But be aware you will also loose some automations updating compile_commands.json path, based on CMake configuration context.