User forums > Using Code::Blocks

getting rid of "source" "header" "other" directories?

(1/1)

subatomic:
Hi, it seems that codeblocks automatically splits up the source files in 3 directories:  "Source", "Header", and "Other".

I don't like to have my files split up, and would rather they be at the top level under the project icon (i.e. _no_ folders at all).
I _can_ drag the files so that they're under the project icon, however, they snap back under "Source", "Header", and "Other" after the project saves.

The closest I've found is "virtual folders", but they don't work because they create a folder.  I don't want any folders!

Here's my use case...  I have a workspace with 40 projects.  It's annoying to have to descend into all the sub-subfolders.  So if all files were children under the project icons, that'd be ideal...


Is this possible?  If not, can we add it as a feature request?
thanks,

MortenMacFly:

--- Quote from: subatomic on September 30, 2008, 04:44:53 pm ---Is this possible?  If not, can we add it as a feature request?

--- End quote ---
Right-click on you project, select "Project tree"...
...play around with "Categorize by file types" and "Display folders as on disk" until you get what you want.

subatomic:
thanks for the tip, i'll play with this.
as an aside...  my c:b 8.02-1 on fedoracore8 locks up when I choose "Categorize by file types", but comes back after 1/2 minute...  it's strange.

(note to others with the same question, I found the setting is saved in default.conf...)

Navigation

[0] Message Index

Go to full version