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.
Hi, firstly, thanks for the comment!
My question is: Where can I find the "Filemanager plugin"? I opened the Menu->plugins->manage plugins dialog, but I can't find such plugin.
Also, I think I have really finished a draft version of the "Navigate backward/forward" plugin. This is mainly based on the Trackbar plugin.
Here is the steps to use this plugin:
1, copy the source code to the directory "cb_source_root\src\plugins\contrib"
2. open the "TrackBar.cbp" and build it.
3, run update.bat.
4, then run cb from: "cb_source_root\src\output"
Note: since the short-cut for "Navigate back/forward" is "alt+left" and "alt + right", which may conflict the BrowseTracker plugin( This is another great plugin), so, you can change the short-cut key in :
Settings->Editor->keyboard shortcut, see like below(for me, I just delete the two short cut
)
Here is the source code. Download and have fun. Note: I just add a event handler to the cbEVT_EDITOR_UPDATE_UI message in the code, the code is quite simple and self-explanation. Any comments are welcome!
[attachment deleted by admin]