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

Sort CMakeLists.txt by depth #3789

Closed jmigual closed 1 month ago

jmigual commented 1 month ago

This changes visible behavior

The following changes are proposed:

So, we go from this: Screenshot 2024-05-23 103048

To this: Screenshot 2024-05-23 103346

The purpose of this change

The motivation of this change is that usually the user wants to open the CMakeLists.txt that is the closest to the root of the repository and other files are just included via add_subdirectory in CMake.

gcampbell-msft commented 1 month ago

@jmigual Could you also add a CHANGELOG.md update? Please give yourself credit as well following the pattern in the file 👍

jmigual commented 1 month ago

Done 😊

jmigual commented 1 month ago

@microsoft-github-policy-service agree