Author Topic: Feature: WayBack  (Read 6635 times)

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Feature: WayBack
« 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?

« Last Edit: March 09, 2008, 07:28:29 pm by k1mgy »

Offline dje

  • Lives here!
  • ****
  • Posts: 682
Re: Feature: WayBack
« Reply #1 on: March 09, 2008, 07:44:30 pm »
Hi !

You should have a look at the BrowseTracker plugin


Dje

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Feature: WayBack
« Reply #2 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.
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 k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: Feature: WayBack
« Reply #3 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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Feature: WayBack
« Reply #4 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Feature: WayBack
« Reply #5 on: March 09, 2008, 08:22:30 pm »
BrowseTracker is part of CB distro !!!

Offline k1mgy

  • Multiple posting newcomer
  • *
  • Posts: 64
Re: Feature: WayBack
« Reply #6 on: March 09, 2008, 08:34:57 pm »
2.8.7 build 4893

I update using the nightlies.

Is it hiding somewhere in there?