Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: nabble on December 10, 2012, 07:28:01 pm
-
Hi, this is my first time using Code::Blocks 10.05 and whenever I create a project I like to separate my header files and source files into physical 'headers' and 'source' directories. But whenever I do that and then create my files in Code::Blocks it automatically creates a directory called 'Sources' or 'Headers' depending on the type of file. So my directory structure ends up looking like this within Code::Blocks:
(http://i46.tinypic.com/34hw2l3.png)
I would like to have my code divided up logically on disk and just have 'Source' and 'Headers' directory within Code::Blocks. So is there a way to stop code blocks from automatically adding these virtual folders?
-
Right click your project and (from the contextmenu) uncheck "Project tree -> Categorize by file type" .