1
I would like to separate my source code into folders to have a better organization in the code by grouping the files into directories.
In general, you usually have a lot of files . h and . cpp and I usually separate the folders. I always used netbeans, but recently decided to test Visual Studio.
When starting the code (little thing, to follow a tutorial for creating SDL games), I started to organize the source into folders, as I used to do. In Visual Studio when I’m working with C++ I see the option to add filter, to organize the file structure, but I don’t see the option to add folders.
I can organize the code in what visually appears to be a folder structure, but when I check the files are a salad, it’s all mixed up in the root of the program. Menu options only allow me to Add a filter:
Apparently it gets organized, but only visually, the codes all remain in the same place.
I wonder if inside the visual studio there is a way to convert these filters into folders, or how to add the folder through the visual studio, because I ended up creating the folders and reorganize manually when I realized.
Not that I usually have files with the same name, but in this environment for example this would be impossible. In addition to what I think is very messy if you are looking for something, or if you need to change IDE in the future, because I believe that this logical organization will not be reused in another IDE like Eclipse, Netbeans and etc.