Author Topic: Merge header and sources?  (Read 8231 times)

Offline mSkull

  • Single posting newcomer
  • *
  • Posts: 2
Merge header and sources?
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12678
    • Travis build status
Re: Merge header and sources?
« Reply #1 on: August 14, 2013, 04:03:30 pm »
Project -> Project tree -> Categorize by file type
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline mSkull

  • Single posting newcomer
  • *
  • Posts: 2
Re: Merge header and sources?
« Reply #2 on: August 14, 2013, 05:58:29 pm »
thank you, that was just the thing I needed