microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.48k stars 454 forks source link

add telemetry for developer environment use #3975

Closed gcampbell-msft closed 3 months ago

gcampbell-msft commented 3 months ago

See title.

Note: Changed this preset.__parentEnvironment = EnvironmentUtils.mergePreserveNull([process.env, developerEnvironment]); to preset.__parentEnvironment = EnvironmentUtils.mergePreserveNull([process.env, preset.__parentEnvironment, developerEnvironment]);.

This helps ensure that in various scenarios, such as a test preset referencing a configure preset, we don't accidentally ignore the devenv parentEnvironment.