News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Back/Forward operation in editor or debugger

Started by eddyq, April 05, 2013, 04:17:23 PM

Previous topic - Next topic

eddyq

Is there a "back" and "forward" operation or for the editor? By that I mean a way to allow me to move to the previous point where I navigated away (for example, I right click on a name and select "Find Declaration" (while in the editor) or I'm in the debugger and I navigate away from the current line of execution (return to the current point of execution).

Eddy

MortenMacFly

There are bookmarks (see menu "Edit" -> "Bookmarks") and a bookmarks plugin that extends these functionalities even more.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

eddyq

I assume BrowseTracker is what I need. So I clicked on Plugins and BroseTracker does not show up. Then I selected Manager Plugins and I see BrowseTracker and it has "yes" under "Enabled" ... so I assume it is enabled.

But it doesn't seem to function as advertised. For example, if I navigate to the declaration of a function then use alt/left it does not go back to the point where I started. Then I tried alt/up and that moves the current line up one line. So even though it says it is enabled I don't think it really is.

Does anyone have any suggestions?

Pecan

#3
You have to assign the keys you want to use with the KeyBinder plugin.

Settings/Editor/KeyBoard Shortcuts

eddyq

BrowseTracker is not listed under Settings/Editor/KeyBoard Shortcuts/Plugins ... I think my problem is that I don't understand how to enable BrowseTracker.

(it says it is enabled under Manage Plugins)

Pecan

MainMenu/Settings/Editor/Keyboard ShortCuts

Then expand View/Browse Tracker


eddyq

I already tried that and it lists alt/left and alt/right for Backward Ed and Forward Ed. But when I use those keys I get a list of files ... it does not go to the previous edit.