I would like Visual Studio to automatically put my .h file in a folder /ProjectPath/include and my src file in /ProjectPath/src. That way, if I use the “Create class wizard” for instance, it would put the good path by default without me having to change the folder. Anyone know what setting I should change to get this behaviour when I add file ?
Thanks,
Jean-Philippe
You can right click on a folder in solution explorer and go to properties, you need to set the Filter property.
For example the
Source Filesfolder by default has a filter like this in a C++ project:cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx