Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: mSkull on August 14, 2013, 02:25:55 pm

Title: Merge header and sources?
Post by: mSkull on August 14, 2013, 02:25:55 pm
Hi

By default CodeBlocks seperates all of the header files and source files into seperate virtual folders, sort like this:
Project Name
+ Sources
|  + MyFolder
|  |  + DatFile.cpp
|  + Game.cpp
|  + Main.cpp
|  + MyClass.cpp
|
+ Headers
   + MyFolder
   |  + DatFile.h
   + Game.h
   + Main.h
   + MyClass.h


This is fine if you have a very small project, but, atleast to me, super annoying when your project starts growing and you have alot more files and folders to juggle around with.
Therefore I would like to ask if there's a way to undo that, so you get an organization more along these lines:
Project Name
+ MyFolder
|  + DatFile.h
|  + DatFile.cpp
+ Game.cpp
+ Game.h
+ Main.cpp
+ Main.h
+ MyClass.cpp
+ MyClass.h


That would be alot easier atleast to me, so I anyway of you know how I could do something like that please tell me.

Thanks
mSkull
Title: Re: Merge header and sources?
Post by: oBFusCATed on August 14, 2013, 04:03:30 pm
Project -> Project tree -> Categorize by file type
Title: Re: Merge header and sources?
Post by: mSkull on August 14, 2013, 05:58:29 pm
thank you, that was just the thing I needed