When working with C ++ projects, Solution Explorer has standard filters for header files, resource files, and source files. What I want to accomplish is essentially filters by folder.
Suppose the file structure was as follows:
- ../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 will look like this:
- Header Files / Header 1.h
- Header Files / Header 1.h
- Header Files / Header 2.h
- Header Files / Header 2.h
- Source Files /SomeOtherSource.cpp
- Source Files / Source 1.cpp
- Source Files / Source 1.cpp
- Source Files / Source 2.cpp
- Source Files / Source 2.cpp
And I would like it to look like this:
- Header Files / AnotherFolder / Header 1.h
- /AnotherFolder/Header 2.h
- /1/Header1.h
- /Folder 1/Header2.h
- /AnotherFolder/Source 1.cpp
- /AnotherFolder/Source 2.cpp
- /1/1.cpp
- /1/2.cpp
- /SomeOtherSource.cpp
?