News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

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

Started by Charon, June 11, 2007, 09:16:08 PM

Previous topic - Next topic

dmoore

#15
Quote from: mariocup on June 14, 2007, 09:39:06 AM
Hi,

Furthermore I think that a browser view of the filesystem with a search field perhaps with a file extension filter *.cpp would be very nice for developers.

Bye,

Mario

mario: download the latest svn of my interpreted languages plugin (http://developer.berlios.de/svn/?group_id=7745) and try out the "File Explorer" (it's a tab in the management pane). The file explorer contains a tree, a combo box to let you specify the root directory of the tree and a wildcard mask (files are restricted to those that match the semi-colon separated list of wildcards). It also integrates with the intepreter actions and I'm in the process of adding normal file explorer commands like mkdir, new file, copy, move, delete, find, grep etc. I'd be happy to work with some of you to get this into C::B proper...
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

#16
Quote from: Charon on June 14, 2007, 10:57:14 AM
PS.: deep inside i stll hope for the workspace-node to vanish ;-)

how about changing the workspace node to a combo box above the tree that lets you choose among your recent workspaces? (that way you will at least save some horizontal space)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

tiwag

because i have to work with a file-locking (read only flag) version control system at work,
i always wished, that i could see the read-only state of the opened files by their icons.

now i got a few hours time to implement this feature

maybe anyone is willing to test it (especially with linux)
and share his opinion about

edit:
updated patchfile versus svn rev 4197



[attachment deleted by admin]

rickg22


MortenMacFly

#19
Quote from: tiwag on June 29, 2007, 05:52:24 PM
because i have to work with a file-locking (read only flag) version control system at work,
i always wished, that i could see the read-only state of the opened files by their icons.
I don't get it: I had that already implemented some time ago...?! :shock:
Isn't that working anymore?!
With regards, Morten.

Edit: Damn && Sorry - I didn't fully read. You did that for *files*. What I did was for project files and workspace files, only. So It's complete now I'd say - nice! :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

Quote from: MortenMacFly on June 29, 2007, 07:17:35 PM
I don't get it: I had that already implemented some time ago...?! :shock:
Isn't that working anymore?!
With regards, Morten.

hmmm  :shock:
the last svn revisions didn't have this feature.

maybe your changes never got into svn ? (like many others too ... )

MortenMacFly

Quote from: tiwag on June 29, 2007, 07:24:06 PM
the last svn revisions didn't have this feature.
Nope - my fault (see "Edit" in the other message. ;-)).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

Quote from: MortenMacFly on June 29, 2007, 07:25:27 PM
Quote from: tiwag on June 29, 2007, 07:24:06 PM
the last svn revisions didn't have this feature.
Nope - my fault (see "Edit" in the other message. ;-)).

OK all clear now!

thx, tiwag

MortenMacFly

Quote from: tiwag on June 29, 2007, 07:27:27 PM
OK all clear now!
Compiling now with your patch applied - looking forward to it. :-)
BTW: I realised there is quite often the same code in the patch. Isn't it better to make a method out of it then?!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

Quote from: MortenMacFly on June 29, 2007, 07:31:15 PM
Quote from: tiwag on June 29, 2007, 07:27:27 PM
OK all clear now!
Compiling now with your patch applied - looking forward to it. :-)
BTW: I realised there is quite often the same code in the patch. Isn't it better to make a method out of it then?!
With regards, Morten.

yes of course ...  ( and this rule applies also to most of the already existing code  :)  )

tiwag

can anyone who uses linux please test the proof of concept code
and report if it works with (which) or without problems ?

if there are no objections i would work further on this and commit to svn.

thanks, tiwag

tiwag

here is the latest patchfile (vs. svn rev 4207) with a code cleanup as suggested

also the find, find next/previous commands are modified,
so that the search results are centered on screen (if possible)
and the shown code on the screen will be unfolded.

the code is well tested and ready to commit, if these features are welcome ... ?

brgds, tiwag

[attachment deleted by admin]

mandrav

Quote from: tiwag on July 03, 2007, 11:10:20 AM
here is the latest patchfile (vs. svn rev 4207) with a code cleanup as suggested

also the find, find next/previous commands are modified,
so that the search results are centered on screen (if possible)
and the shown code on the screen will be unfolded.

the code is well tested and ready to commit, if these features are welcome ... ?

brgds, tiwag

Looks ok to me.
Be patient!
This bug will be fixed soon...

MortenMacFly

Quote from: tiwag on July 03, 2007, 11:10:20 AM
the code is well tested and ready to commit, if these features are welcome ... ?
Worked with it for some days now under Windows (no experience with other platforms though). Looks good to me, too. Nicely done. :-)
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

thanks for testing and commenting, i've commited the changes.

btw. i found, that proper unfolding of code is necessary also when
jumping to folded code with bookmarks. i'll have a look at it the next days ...