In the Solution Explorer when working with C++ projects there is the standard filters of Header Files, Resource Files, and Source Files. What I'm wanting to accomplish is essentially Filters by folder.
Lets say the structure of the files was like this:
- ../Folder1/Source1.cpp
- ../Folder1/Header1.h
- ../Folder1/Source2.cpp
- ../Folder1/Header2.h
- ../AnotherFolder/Source1.cpp
- ../AnotherFolder/Header1.h
- ../AnotherFolder/Source2.cpp
- ../AnotherFolder/Header2.h
- ../SomeOtherSource.cpp
In the Solution Explorer, it would look like:
- Header Files/Header1.h
- Header Files/Header1.h
- Header Files/Header2.h
- Header Files/Header2.h
- Source Files/SomeOtherSource.cpp
- Source Files/Source1.cpp
- Source Files/Source1.cpp
- Source Files/Source2.cpp
- Source Files/Source2.cpp
And I would like to have it look like this:
- Header Files/AnotherFolder/Header1.h
- Header Files/AnotherFolder/Header2.h
- Header Files/Folder1/Header1.h
- Header Files/Folder1/Header2.h
- Source Files/AnotherFolder/Source1.cpp
- Source Files/AnotherFolder/Source2.cpp
- Source Files/Folder1/Source1.cpp
- Source Files/Folder1/Source2.cpp
- Source Files/SomeOtherSource.cpp
How would this be accomplished?