Author Topic: nicer tree-view for "projects" and "open files list"  (Read 19740 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: nicer tree-view for "projects" and "open files list"
« Reply #15 on: June 14, 2007, 02:58:11 pm »
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...
« Last Edit: June 14, 2007, 03:06:52 pm by dmoore »

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: nicer tree-view for "projects" and "open files list"
« Reply #16 on: June 14, 2007, 03:04:15 pm »
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)
« Last Edit: June 14, 2007, 03:43:19 pm by dmoore »

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #17 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.

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]
« Last Edit: June 29, 2007, 07:22:03 pm by tiwag »

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: nicer tree-view for "projects" and "open files list"
« Reply #18 on: June 29, 2007, 06:41:45 pm »
wow, nice :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: nicer tree-view for "projects" and "open files list"
« Reply #19 on: June 29, 2007, 07:17:35 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! :-)
« Last Edit: June 29, 2007, 07:23:34 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #20 on: June 29, 2007, 07:24:06 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 ... )

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: nicer tree-view for "projects" and "open files list"
« Reply #21 on: June 29, 2007, 07:25:27 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #22 on: June 29, 2007, 07:27:27 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: nicer tree-view for "projects" and "open files list"
« Reply #23 on: June 29, 2007, 07:31:15 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #24 on: June 29, 2007, 08:35:43 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  :)  )

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #25 on: July 02, 2007, 10:45:33 am »
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

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #26 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

[attachment deleted by admin]

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: nicer tree-view for "projects" and "open files list"
« Reply #27 on: July 03, 2007, 12:10:55 pm »
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...

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: nicer tree-view for "projects" and "open files list"
« Reply #28 on: July 03, 2007, 06:30:56 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: nicer tree-view for "projects" and "open files list"
« Reply #29 on: July 03, 2007, 07:10:37 pm »
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 ...