Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

nicer tree-view for "projects" and "open files list"

<< < (2/7) > >>

Charon:
hi killerbot,

yeah i know its not that much space, but its at least a little bit more and in my opinion it looks more right with the hidden root item.

apart from the uselfullness of this : any idea why the background of it is dark-grey?

concerning the "find file" :
öhm, finished!  :D
you can right-click on a node and select "Find file...". a window will appear that asks for the filename.
if the file is found it will get selected (but not opened), else a message is shown that it couldn't be found.

right now its my complete patch. if you think the part concerning the "find file" is ok i will gladly clean it up so my experiment for the hidden root folder isn't included.

regards
Markus

[attachment deleted by admin]

killerbot:
very well done.
Ok, I would start with integrating the find file. I see you made it for now on the project level.

I am not so sure about removing the workspace node, because you loose the menu attached to it (the menu where we could add also the find file ...)

So could you attach a cleaned up patch with just the find file. I will merge that in our code base then. Once again, very well done :-)

dje:
Hi !

That's nice  :)

It may be more complex but what I'd prefer is something like in Eclipse (don't misunderstand !! I prefer C::B  :D), a text control just below the tree that filters it automatically to show just tree items matching the entered text.

Dje

Charon:
@killerbot:
thanks for your kind words!
i cleaned up the patch so that it only contains the "find files" and of course it already supports workspaces, projects, folder and virtual folders  :)
the only type of folder that i couldn't get to work is the one automatically created when using "Categorize by file types" (i.e. "Sources" and "Headers").


i didn't plan to submit my other patch (for removing the workspace node) for review until it works like it should (with the right-click menu).
it was just meant to find out if there is interest in something like this and if somebody can help me with my 2 problems with it. of course it makes only sense if the right-click menu works!


@dje:
nice idea, but i am not good enough yet with wxWidgets and Code::Blocks itself to start on something like this :)



PS.: while creating this patch i almost pulled out all my hair. when i was doing my final test i found out i couldn't select "Categorize by file types" and "Display folders as on disk" anymore. i searched all my added code for mistakes but found none. then i compared my working version with the version in svn in the case i accidently deleted something. nothing.
then it dawned on me. i was still using wxWidgets 2.8.3. upgraded to 2.8.4 and voila, the bug was gone!

[attachment deleted by admin]

dje:

--- Quote from: Charon on June 13, 2007, 05:24:41 pm ---nice idea, but i am not good enough yet with wxWidgets and Code::Blocks itself to start on something like this :)

--- End quote ---
Unless you don't know you are  :wink:

Dje

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version