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

Handle "~" in binaryDir path #3764

Closed andreeis closed 1 month ago

andreeis commented 1 month ago

Fix for https://github.com/microsoft/vscode-cmake-tools/issues/3541. File system APIs don't recognize tilda "~" in paths and because of this, when using "~" in binaryDir for example, the extension cannot properly interpret cmake file-api jsons to list targets for build, debug or run. Replace "~" with user folder.