Skip to content

[Bug] CMake Tools continues to send IntelliSense configurations from the previous CMake Preset after switching to a different preset #4774

@sean-mcmanus

Description

@sean-mcmanus

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

n/a

Debug Log

n/a

Additional Information

No response

Metadata

Metadata

Assignees

Type

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions