microsoft / microsoft/vscode-cmake-tools
[Bug] CMake Tools continues to send IntelliSense configurations from the previous CMake Preset after switching to a different preset
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 546
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 32
Description
### Brief Issue Summary
1. Use CMake: Select Configure Preset to switch to a different preset.
Bug: CMake Tools continues to send IntelliSense configurations with the old preset info. The workaround is to reload window. I've debugged cpptools.ts function provideConfigurations to confirm it's a bug with CMake Tools and not the C/C++ extension. The build itself correctly is updated to use the new preset (the IntelliSense configuration is just wrong).
I sent more repro info via internal email.
This might be a duplicate of a pre-existing issue but I couldn't find it.
### CMake Tools Diagnostics
```shell
n/a
```
### Debug Log
```shell
n/a
```
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.