Displaying the #include hierarchy for a C++ file in Visual Studio

There is a setting:

Project Settings -> Configuration Properties -> C/C++ -> Advanced -> Show Includes

that will generate the tree. It maps to the compiler switch /showIncludes

Leave a Comment