News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Feature: WayBack

Started by k1mgy, March 09, 2008, 07:25:31 PM

Previous topic - Next topic

k1mgy

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?


dje


MortenMacFly

Quote from: k1mgy on March 09, 2008, 07:25:31 PM
Comments?
Most likely the "BrowseTracker" plugin is what you are looking for. It takes bookmarks to another level.
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]

k1mgy

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.

Jenna

Quote from: 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.

What version of C::B do you use ?

"Browse Tracker" is included in  C::B release 8.02 and of course in svn.

killerbot

BrowseTracker is part of CB distro !!!

k1mgy

2.8.7 build 4893

I update using the nightlies.

Is it hiding somewhere in there?