User forums > Using Code::Blocks

Short file name - Manager window

(1/2) > >>

angshuman:
Is there a way in Code::Blocks to view short file names (without path) in the Manager->projects window? I have a long directory structure and when working with multiple files it takes up half of my display and thats very disturbing.

Thanks in advance.

MortenMacFly:

--- Quote from: angshuman on March 05, 2010, 03:09:23 am ---Is there a way in Code::Blocks to view short file names (without path) in the Manager->projects window? I have a long directory structure and when working with multiple files it takes up half of my display and thats very disturbing.

--- End quote ---
A flat hirarchie makes no sense becasue how would you handle file wirth the same name but in different directories then?

However, you have two options:

1.) If you right-click on the project, inspect the menu "project tree" and play with the options "categorize by file types" and "display folders as on disk".

2.) Use the concept of virtual folders to organise your files. Consult the C::B documentation how to do that.

Seronis:

--- Quote from: MortenMacFly on March 05, 2010, 06:35:33 am ---
--- Quote from: angshuman on March 05, 2010, 03:09:23 am ---Is there a way in Code::Blocks to view short file names (without path) in the Manager->projects window? I have a long directory structure and when working with multiple files it takes up half of my display and thats very disturbing.

--- End quote ---
A flat hirarchie makes no sense becasue how would you handle file wirth the same name but in different directories then?

--- End quote ---

Less than 5% of the projects I work on have over 200-300 files and less than 1% are significantly larger than that.  Not sure how many -other- users are in the same situation but that leaves 95% of the stuff I work on in a position to benifit from not worrying about the heirarchy as there just are no duplicate file names.  If short file names were supported in a few places it would make life easier for me, for the OP, and for others in the same situation.  (hint build log and build msgs)

MortenMacFly:

--- Quote from: Seronis on March 05, 2010, 04:54:51 pm ---Less than 5% of the projects I work on have over 200-300 files

--- End quote ---
For me it's exactly the opposite.

However, as there is possibility of errors I see no way how this could be implemented in a bullet-proof manner. And I don't want to answer the million forum posts which post about linker errors due to e.g. en object file has been overwritten.

But probably I am missing something here...

Edit: Again: If you have both options I mentioned turned off and your folder structure is not too deep it's exactly what you want.

angshuman:
I think its a choice of preference and the workspace. Many popular editors (including slickedit and vc) have this kind of listing. I know there is a problem if multiple files have the same name - but we already have a solution for the in the default view. If we could have the choice of not seeing the full path that would really be a lot more usable.

Navigation

[0] Message Index

[#] Next page

Go to full version