Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: waterlin on December 16, 2009, 05:10:21 am
-
I need to jump between my code, so I installed Browse Tracker to enable this. According to wiki:
----------------------
It uses the Alt-Left and Alt-Right command keys to move through the editor stack in the order in which they were activated.
It uses the Alt-Up and Alt-Down keys to navigate to recently marked editor positions.
----------------------
The Alt-up and Alt-down keys work correctly most time, it can jump between my marks. But after I press Alt-Left or Alt-right, Code::Blocks will prompt a dialog and let me choose "Browse Tabs".
If a choose a different file as my current editing file, it will jump back to the last position I were.
But if I choose my current editing file, it will do nothing. So I can't jump back to the last position I were in current file.
I don't know if it is a bug? Or my configuration is wrong?
Thanks
Water Lin
-
Which OS are you running?
What version of CodeBlocks?
Tell us the exact step-by-step to get BrowseTracker to fail.
-
My OS is Ubuntu 9.10 and my Code::Blocks are 8.02. And the version of Browse Tracker is 1.2.73 2008/02/27.
I don't know if I understand Browse Tracker wrong. But when I use Alt-left, I can just jump between files. Why can't Browse Tracker jump in the same file.
So in the same file, I can just use marks to support the jump. But it is not very convenience to jump in the same file.
-
My OS is Ubuntu 9.10 and my Code::Blocks are 8.02. And the version of Browse Tracker is 1.2.73 2008/02/27.
I don't know if I understand Browse Tracker wrong. But when I use Alt-left, I can just jump between files. Why can't Browse Tracker jump in the same file.
So in the same file, I can just use marks to support the jump. But it is not very convenience to jump in the same file.
try the nightly build ,please.
-
try the nightly build ,please.
Yes, the nightly build has a better "jump" mechanism.
However, you can jump within the same file with your current version by setting BrowseMarks.
Read:
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin
-
@pecan
I found the "jump" mechanism has a little bug. For example, I'm in "token.cpp", and mouse right click on a function, then select "go to implementation of xxx", then it will jump to another file, say “token.h" ,line 200.
But, When I use the "jump back" command, it just firstly jump back to the first line of "token.h". Now, I use the "jump back" command again, the edit position returned to the "token.cpp" again.
So, my question is: Is it possible to remove the "jump to the first line of token.h", we don't want that position to be recorded.
BTW: I'm using Windows XP, wxWidgets 2.8.11, latest SVN build.
thanks
-
Line one position is reported by cbEditor on the first open of the file when the .layout file had no alternative position to report.
I'll look into it.
regards,
pecan