Code::Blocks Forums

User forums => Help => Topic started by: Acki on February 04, 2006, 11:13:21 pm

Title: Project Tree Folder
Post by: Acki on February 04, 2006, 11:13:21 pm
Hi,
I'm working with the nightly build since my last post (latest version) !!! :)
It's Great, it ease my work a lot !!! :))
Now I added 2 files to a project and associate them with an external program:

*.shp with "Shalom Help Maker"
*.bmp with "Paint Shop Pro"

Now they appear in the project treeview in different folders...

*.shp in "Workspace/Others/help"
*.bmp in "Workspace/Others"
Code
-Workspace
    -Project
        +Sources
        +Headers
        -Others
            -Help
                Help.shp
            picture.bmp
How can I define a sub folder ???
Code
-Workspace
    -Project
        +Sources
        +Headers
        -Others
            -Help
                Help.shp
            -bitmaps
                picture.bmp
I never defined Others/"help" with *.shp files !?!?!

CU, Acki



Title: Re: Project Tree Folder
Post by: takeshi miya on February 05, 2006, 12:22:42 am
C::B doesn't supports "virtual folders". Whatever you see on the Project Tree is what is already on the real filesystem.
Title: Re: Project Tree Folder
Post by: sethjackson on February 05, 2006, 01:55:23 am
C::B doesn't supports "virtual folders". Whatever you see on the Project Tree is what is already on the real filesystem.

Which IMO is the best way. If you need your project to be spilt up why not do it on the actual FS than in your project? It makes everything more comprehensible to the person browsing the source tree. IMO of course :)
Title: Re: Project Tree Folder
Post by: takeshi miya on February 05, 2006, 03:25:58 am
Which IMO is the best way. If you need your project to be spilt up why not do it on the actual FS than in your project? It makes everything more comprehensible to the person browsing the source tree. IMO of course :)
Actually, it's a matter of taste, and there are situations where having "virtual folder capability" is a lot more comfortable.
Title: Re: Project Tree Folder
Post by: Acki on February 05, 2006, 10:27:22 pm
Oh, I see...
I thought there was a function to create own folders in the TreeView and place files in them, like you can do with DevCpp...

Maybe a feature for next nightly builds... ;)
Title: Re: Project Tree Folder
Post by: Michael on February 05, 2006, 10:51:25 pm
Maybe a feature for next nightly builds... ;)

If you wish you can post a feature request at SF.

Best wishes,
Michael
Title: Re: Project Tree Folder
Post by: thomas on February 05, 2006, 11:54:04 pm
Maybe a feature for next nightly builds... ;)
Sorry, that possibility can be safely excluded. Maybe a feature any time after Version 1.0, but certainly not in the next nightly build (or in a nightly build any time soon).

Virtual folders would require a *massive* code change which would not be a very wise thing to do at the present time. If we ever want to release a Version 1.0, we have to focus on solving the already existing issues. A large code change introduces a hundred new issues overnight, so unless there is a very good reason, such a thing is a no-no.
We just finished one major change (again...), and we still have a couple in the pipeline. None of us is really happy about making those changes at this time, and we are thinking twice before merging any of these to the main line.