Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: k1mgy on March 09, 2008, 07:25:31 pm

Title: Feature: WayBack
Post by: k1mgy on March 09, 2008, 07:25:31 pm
I speak as a Code::Blocks lover, so this should not be read as whining.

One of the most annoying tasks in my work (Code::Blocks is not unique in this) is to be able to move from point to point in code and get back to where I was.

Example: I'm tracing a problem and my program calls a function, so I right click and Code::Blocks takes me there.  But... how to get back?  What file was I in?  What function?  Of course, I can remember this for one level, but try three, four or more levels of this and it's a pain in the ass.

So I propose a WayBack feature, perhaps presented as a tree-view in the manager toolbar.  To use WayBack you'd set a "waypoint" marker.  Then, as you stray, you set another one, and so on.  Waypoint markers might be seen similarly as bookmarks, only they are sequential - or chained together.

The tree view would let me jump back to any previous waypoint, and so on.

I'd also suggest that a hotkey would let you jump back to the previous waypoint, and another to go forward.  Successive keypresses would go back or forward a single step at a time.

Perhaps a simple function key would clear all the waypoint markers, and a right-click context or hotkey would let me clear the one I am on.

(The only other thing, and this is a longstanding annoyance, I'd do is put a copy/cut/paste in the right-click context menu.  But this is out of the range of my topic!).

Comments?

Title: Re: Feature: WayBack
Post by: dje on March 09, 2008, 07:44:30 pm
Hi !

You should have a look at the BrowseTracker plugin (http://forums.codeblocks.org/index.php/topic,6093.0.html)


Dje
Title: Re: Feature: WayBack
Post by: MortenMacFly on March 09, 2008, 07:48:25 pm
Comments?
Most likely the "BrowseTracker" plugin is what you are looking for. It takes bookmarks to another level.
Title: Re: Feature: WayBack
Post by: k1mgy on March 09, 2008, 08:09:02 pm
That is the ticket.

The latest stuff is here:

http://code.google.com/p/cbbrowsetracker/downloads/list

Note that I had to pull down the 1-2-68 version and then overlay the 1-2-70 as the 70 did not have the cbplugin file.

Sweet stuff!  Thanks.
Title: Re: Feature: WayBack
Post by: Jenna on March 09, 2008, 08:22:07 pm
That is the ticket.

The latest stuff is here:

http://code.google.com/p/cbbrowsetracker/downloads/list

Note that I had to pull down the 1-2-68 version and then overlay the 1-2-70 as the 70 did not have the cbplugin file.

Sweet stuff!  Thanks.

What version of C::B do you use ?

"Browse Tracker" is included in  C::B release 8.02 and of course in svn.
Title: Re: Feature: WayBack
Post by: killerbot on March 09, 2008, 08:22:30 pm
BrowseTracker is part of CB distro !!!
Title: Re: Feature: WayBack
Post by: k1mgy on March 09, 2008, 08:34:57 pm
2.8.7 build 4893

I update using the nightlies.

Is it hiding somewhere in there?