vscode-cmake-tools icon indicating copy to clipboard operation
vscode-cmake-tools copied to clipboard

Default CMake Preset Setting in Workspace Settings

Open Gebhartj opened this issue 1 year ago • 1 comments

Brief Issue Summary

Issue: When using multiple workspaces in the same directory, Visual Studio Code's CMake Tools extension does not remember individual CMake presets for each workspace. This leads to the inconvenience of frequently having to manually select the correct preset for each workspace.

Proposed Solution: Introduce a new setting, cmake.defaultConfigurePreset, in the workspace settings. This setting would allow users to specify a default CMake preset for each workspace.

Expected Benefit: This feature would automatically configure each workspace with its specified preset upon opening, simplifying the workflow and reducing manual configuration.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response

Gebhartj avatar Dec 19 '23 11:12 Gebhartj

@Gebhartj Thanks for the suggestion! I've added the appropriate triage labels and placed it on our backlog for future assessment.

gcampbell-msft avatar Dec 20 '23 14:12 gcampbell-msft