User forums > General (but related to Code::Blocks)

A feature request about CC and BrowseTracker

<< < (6/8) > >>

blueshake:
ok,i have found that source codes.

ollydbg:

--- Quote from: blueshake on August 22, 2009, 07:29:26 am ---i think it would be esay to modify browsetracker plugin.
according to guild line,2 has been done by this plugin. and
3 is also done too.
so we just need to hook the plugin ,and do some work here ,i
think it would be easy, and according to address you post ,i
can not found that source codes.can you pass me one?

--- End quote ---
If you review the source in browsetracker, you will find it is really complecated.
I'd personally prefer start from a simple plugin ,such as TackerBar.( the source code can be download from here:

http://forums.codeblocks.org/index.php/topic,9886.msg73842.html#msg73842

blueshake:
ok,i would like to do help if you have any plan

ollydbg:
HI all:

After the help from blueshake, I think we can implement this feature by modifying the source from mmkider's TrackBar plugin.

I will publish the source and give a description later following this thread. :D

mariocup:

--- Quote from: ollydbg on July 29, 2009, 02:06:37 pm ---Hi, all.

Did you notice this issue:

When I just right click on an variable, then select "Find deceleration of XXX", then after see its type, I would just "jump back" to the original position.

Currently, what we can do is using the browsTracker plugin, I can hold the left mouse button before the jump, then if I want a jump back, I can press ALT+ left arrow button, even if we jump aross two files, we had to press "ALT + up arrow".

This is really annoying. I suggest the browseTracker could automatically record the caret position, so it can easily go backward and forward. (Note, if you have used Visual Assist plug of Visual C++, you're familiar with this behavior)

I just want any comment and objection of this feature request.

Thanks.

--- End quote ---

I want to share some ideas that came to my mind. I agree that a navigation like forward and backward is very useful, but I think a typical scenario is not covered with it.

You start a workflow like open declaration of function foo, then here you open another declaration of functions bar etc. Now after different steps you want to go to foo, since it is perhaps a very important function.

So what I am think about is some kind of labeled Bookmarks which can be managed and sorted in a favorite list. Imagine you are in the editor at function foo and open a context menu add Bookmark Label. Now this label appears a favourite list, e.g. a dockable windows in the message console. With this mechanism frequently used functions or relevant source code line could be accessed very easily.

Perhaps also a sort criterion like (sort by access frequency from favourite list) could be nice. What are you thinking about?

In the Filemanager Plugin there is already a favourite manager for directories and I find it very convenient.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version