microsoft / vscode-cmake-tools

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

Annoying unnecessary logging related to expanding strings that don't require expansion #3760

Closed andreeis closed 1 month ago

andreeis commented 1 month ago

Brief Issue Summary

We call the string expansion API on any string we operate with and at the beginning there is a logging mentioning that we're about to transform the content. That happens even for strings that don't contain any varexp pattern and which will remain unchanged, while introducing lots of useless logging lines in the output channel. Make sure we log anything only when an expansion pattern has been identified.

CMake Tools Diagnostics

No response

Debug Log

No response

Additional Information

No response