News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Merge header and sources?

Started by mSkull, August 14, 2013, 02:25:55 PM

Previous topic - Next topic

mSkull

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

oBFusCATed

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!]

mSkull

thank you, that was just the thing I needed