vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

mergeConfigurations accumulates old defines/etc. after they are changed

Open sean-mcmanus opened this issue 5 months ago • 0 comments

  1. Set mergeConfigurations to true in c_cpp_properties.json with a configurationProvider set (e.g. "configurationProvider": "ms-vscode.cmake-tools").
  2. Change one of the mergeable properties in c_cpp_properties.json like a define in defines.
  3. Do something to retrigger another config update, e.g. CMake: Configure.

Bug: The new define/etc. is added and the old define still exists. It should be replacing the old define with the new define.

sean-mcmanus avatar Jun 10 '25 21:06 sean-mcmanus