Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: doorman on March 13, 2008, 06:18:39 pm

Title: Feature Req: Folder Browser
Post by: doorman on March 13, 2008, 06:18:39 pm
hi guys!

wouldn't it be great to implement a simple folder browser pane? it really bugs me to click the open button all the time, or to switch to another app and then drag the thing into cb...

thnx for your consideration
:)
Title: Re: Feature Req: Folder Browser
Post by: Ceniza on March 13, 2008, 06:24:28 pm
It already exists in an external plugin (http://wiki.codeblocks.org/index.php?title=Interpreted_Languages_plugin).
Title: Re: Feature Req: Folder Browser
Post by: doorman on March 13, 2008, 06:52:07 pm
there's only a shellextension cb plugin, which doesn't work (at least not for me)... the rest is for win32 only...

thanks on the reply, anyway
Title: Re: Feature Req: Folder Browser
Post by: yacwroy on January 31, 2009, 02:37:33 pm
I would just like to second this request.

The best file browser I've seen (better even than nautilus) is bluefish's file pane. http://bluefish.openoffice.nl/ (http://bluefish.openoffice.nl/)
In addition to the standard features of nautilus's list-view I need, It has:
1) A relocatable base directory.
2) New file & new directory options when right-clicking folders.
3) Files & directories together.

Three more features not in bluefish that I think would make this even better would be:
4) To be able to split the file browser or even have multiple dockable file browsers.
5) To be able to resize text & icons in the file browser, and change text font.
6) To be able to partially close a folder, leaving only the open subfolders but hiding the other contents.

After using Nautilus, Gedit and a terminal for ages, I've decided to see if I can improve things.
I've just looked through 100s of editors and a few file browsers - the best option so far is nautilus with list-view + code::blocks, but nautilus still leaves things to be desired.

I'll happily throw in $50 NZ if someone can make a file browser with all these features.
I may even look into building it myself.

yacwroy att gmail dott com
Title: Re: Feature Req: Folder Browser
Post by: dmoore on January 31, 2009, 04:37:20 pm
the ShellExtensions plugin has a file manager (see attached). the source and some win32 builds are available at the project page linked in my sig (this will eventually migrate to the main C::B project)

[attachment deleted by admin]
Title: Re: Feature Req: Folder Browser
Post by: dmoore on January 31, 2009, 04:50:21 pm
1) A relocatable base directory.

done. with a drop down listing recent and favorite dirs

Quote
2) New file & new directory options when right-clicking folders.

done, as well as support for customizable commands (e.g. offer to launch python on .py files, or run svn diff on a directory and display the contents in a window)

Quote
3) Files & directories together.

yes, as well as displaying status decorations for directories under control of popular version control tools (svn, bzr, mercury)

Quote
4) To be able to split the file browser or even have multiple dockable file browsers.

not available yet, but would be possible (also doesn't fully support drag n drop yet)

Quote
5) To be able to resize text & icons in the file browser, and change text font.

at this point the plugin doesn't use the native icons, just stock ones installed by C::B. it would be possible to use the native icons, but just requires platform dependant code. as for fontsize etc - not sure it makes sense to depart from the C::B (or OS) theme...

Quote
6) To be able to partially close a folder, leaving only the open subfolders but hiding the other contents.

interesting idea but not supported right now. what is supported is a file glob mask ("*.cpp;*.h;*.c;Makefile*;makefile*")

Quote
I may even look into building it myself.

get the source from the project page (link in my sig - click "SVN" link) and start playing. patches and suggestions are welcome.