VC++ Solution explorer filters blues

Software: Visual Studio 2005 Pro

Hi,

I am using the "filters" ( the folders looking icons ) under my
solution for better files organisation. All is good. But when I give
the code to someone who is trying to make sens of my project without
loading it in Visual C++, the files on the file system look like a
mess.

I have a large number of files under almost 10 filters. Example of my
filters are "Interfaces", "implementations", "headers", "source"
etc...

Would it be possible to actually have a 1:1 mapping on the file system as per the filters structure

Right now I have to create all my folders on my file system manually,
and then create the files myself on my file system, and import them
afterwards under the corresponding filter. This is getting tedious.

I would really like to see the files getting created automatically in
the proper file system folder when I choose to create a class for
example, instead of them always being created under the project's
root.

Thanks.


Answer this question

VC++ Solution explorer filters blues

  • Output the XSLCompiledTransform.

    joshep wrote:

    VC 8.0 has two modes for solution explorer: the traditional "logical" view with "filters" and a physical view of the files in your project directory. the physical mode can be toggled on/off by clicking the "show all files" button at the top of soltution explorer.

    in physical mode you can manage your files physical locations, whereas in logical mode you can only manage their logical layout.

    josh

    VC++ project system developer

    Thanks for your reply Josh. I was well aware of the "show all files" option, but then you will see every file including files you might never use or care for, and you cannot hide folders ( physical ones ) that you may not want to see.

    The various creation tools ( like Class wizards ) seem also to be unaware of the context of the current folde. So if you right-click on a folder and choose to add a class, it will not get added under that folder, but under the project root!

    The ideal would be a hybrid of both modes.


  • Nir2003

    Seems that what I am looking for is impossible to do in the current iteration of VS.
  • patriot2

    I don't think VC++ supports that feature. If your source files use some sort of directory hierarchy, you'd have to duplicate that manually within the VC project.

    It's a good idea for a VC++ 9 feature though - to be able to drag drop a folder from explorer into VC++ solution explorer and every file that matches the default filter should be added to the project.



  • 1gotoguy

    VC 8.0 has two modes for solution explorer: the traditional "logical" view with "filters" and a physical view of the files in your project directory. the physical mode can be toggled on/off by clicking the "show all files" button at the top of soltution explorer.

    in physical mode you can manage your files physical locations, whereas in logical mode you can only manage their logical layout.

    josh

    VC++ project system developer



  • Marc Jones

    Please feel free to log a suggestion at http://lab.msdn.microsoft.com/productfeedback/default.aspx

    Thanks,
    Ayman Shoukry
    VC++ Team


  • k_savelev

     Nishant Sivakumar wrote:

     - to be able to drag drop a folder from explorer into VC++ solution explorer and every file that matches the default filter should be added to the project.

    What about the Wizards though They also have to be aware of my logical<->physical connection. So if I create a new class using c++ class wizard from the contextual menu of a given filter ( solution folder ), the two files should be created underneath my logical AND physical folders. I use Eclipse for J2EE work, and it does this wondefully well.

    I will put it as a suggestion for the next version. 

    Btw, how do you guys manage your files now Do you like have ALL of your files in a single folder managed only logically by the filters


  • VC++ Solution explorer filters blues