Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

BrowseTracker plugin

(1/22) > >>

Pecan:
// ---------------------------
//  Browse Tracker
// ---------------------------

BrowseTracker is a small CodeBlocks plugin to browse back and forth to recently activated CodeBlocks editors.

It keeps a 20 slot history of recently activated editors.

It uses the Alt-Left and Alt-Right command keys to move through the editor stack in the order in which they were activated.

For convienence there is a menu item at the bottom of the CodeBlocks Main Menu/View that allows you to clear the history stack.


http://www.savefile.com/files/783621


The file above contains all source and .cbplugin files for both MSW and unix.

To install the plugin:

* Unzip the downloaded file.
* Close all active CodeBlocks projects
* Use the CodeBlocks installer at
MainMenu/Plugins/Manage Plugins.../Install New
* Navigate to the location you unzipped the file above.
* Double click BrowseTracker.cbplugin for MSWindows
* Double click libBrowseTracker.cbplugin for unix
You may have to restart CodeBlocks if there were pre-existing editors open during the install.


MortenMacFly:
I guess I'm just too blind to see: What's the difference to enabling "Use smart tag switching scheme" (or was it "Use drop-down list" in Settings -> Environment -> Notebooks appearance and then pressing CTRL + TAB?!
With regards, Morten.

Pecan:

--- Quote from: MortenMacFly on June 05, 2007, 11:59:10 pm ---I guess I'm just too blind to see: What's the difference to enabling "Use smart tag switching scheme" (or was it "Use drop-down list" in Settings -> Environment -> Notebooks appearance and then pressing CTRL + TAB?!
With regards, Morten.

--- End quote ---

The smart tabs just switches back and forth between the last two activated editors with a Ctrl-tab.

To get to the next editor you have to remember to hit Ctrl-tab-tab. for the next Ctrl-tab-tab-tab; then the next is Ctrl-tab-tab-tab-tab . And the list gets rearranged each time.

Smart tabs records the editors in the order in which they appear on the notebook tabs. Not the way they were activated by the user.

BrowseTracker keeps a record of the order in which they were activated by the USER. Like an internet browser. And it contains ONLY the editors activated by the user, not the complete notebook of editors.

Lets say you have a project open and you've activated two editors. You then open CodeBlock.cbp. Now smart tabs is full of tab entries, while BrowseTracker contains only the two.

One Alt-Left, and you're back where want to be.

Lets say you search-in-files for "wxTree", then activate an editor, then search for "wxPopup". See what you want to see, then with one Alt-Left, you're back at "wxTree". With another Alt-Left, you're back at your own code.

You can't do that with Ctrl-Tab unless you have a steel-trap memory.




MortenMacFly:

--- Quote from: Pecan on June 06, 2007, 12:04:20 am ---You can't do that with Ctrl-Tab unless you have a steel-trap memory.

--- End quote ---
Alright! :D Thanks for the explanation - I had only two files open so -in fact- I have been blind. ;-)
With regards, Morten.

dje:
Hi Pecan !

With SVN 4051 a 4066, a SDK version problem happens.

--- Code: ---[21:26:43.515]: ERROR: C:\DevSofts\CodeBlocks/share/codeblocks/plugins/BrowseTracker.dll: not loaded (missing symbols?)

--- End code ---

What version do you use ?

Dje

Navigation

[0] Message Index

[#] Next page

Go to full version