User forums > Using Code::Blocks

Source code navigation ?

(1/2) > >>

vpanayotov:
Hi everybody,

I want to use the C::B IDE to browse/study source code. A feature that I need is to be able to jump back to the previous location after jump to some definition/declaration in the same or other file. I mean something similar to ctrl-t keyboard shortcut in VIM/ctags.

Is there something similar in C::B?

Best regards,
Vassil

Jenna:
You should have a look at BrowsTracker-Plugin (right mouse-click in editor ...).

vpanayotov:
Thank you for your answer!

I installed the BrowseTracker plugin, but I am not sure that this is what I am looking for. Is it possible to jump back without first setting "browse mark" ? BTW when I try to set browse mark using left click OR ctrl+left click a breakpoint is toggled and the placement of the browse mark is not on the desired source code line.

The browse marks also can't be used to jump between different files/tabs.

Best Regards,
Vassil

Pecan:

--- Quote from: vpanayotov on March 11, 2008, 10:13:14 pm ---Thank you for your answer!

I installed the BrowseTracker plugin, but I am not sure that this is what I am looking for. Is it possible to jump back without first setting "browse mark" ?

--- End quote ---

No, you must set a mark for the system to see where you want to browse back to.


--- Quote from: vpanayotov on March 11, 2008, 10:13:14 pm ---BTW when I try to set browse mark using left click OR ctrl+left click a breakpoint is toggled and the placement of the browse mark is not on the desired source code line.

--- End quote ---
Don't click in the margin. Click on the source iine.


--- Quote from: vpanayotov on March 11, 2008, 10:13:14 pm ---The browse marks also can't be used to jump between different files/tabs.

--- End quote ---

That is correct. But you can jump back and forth with Alt-LeftArrow; and forward with Alt-RightArrow.

von.hake:
Could the shortcuts be somehow assigned to the actions of Browse Tracker plugin like Prev Mark and Next Mark?
Are there still no possibility in C::B to jump back without explicit mark setting ?
Actually for such kind of navigation in one source file only one can use Edit->Bookmarks...

Navigation

[0] Message Index

[#] Next page

Go to full version