News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

TraceBar plugin(bookmark+navigate)

Started by mmkider, January 09, 2009, 04:41:58 PM

Previous topic - Next topic

thamurath

Hi,
I have downloaded source version of this pluging but i heave a problem, when i open the cbp project file an error raise "cb is not defined" and "wx is not defined"

Im not used to build cb plugins, but i suppose those are enviroment variables but, which are their values?

Im running a etch debian with the 14th feb nightly build

Thanks in advance

ollydbg

Quote from: thamurath on March 30, 2009, 02:09:22 PM
Hi,
I have downloaded source version of this pluging but i heave a problem, when i open the cbp project file an error raise "cb is not defined" and "wx is not defined"

Im not used to build cb plugins, but i suppose those are enviroment variables but, which are their values?

Im running a etch debian with the 14th feb nightly build

Thanks in advance

You are right, they are enviroment variables. See here:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows#Compile_Code::Blocks
Edit: Oh, I'm sorry, I forget you are using debian, not Windows, but I think they do like the same way.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

mmkider

#17
Quote from: thamurath on March 30, 2009, 02:09:22 PM
Hi,
I have downloaded source version of this pluging but i heave a problem, when i open the cbp project file an error raise "cb is not defined" and "wx is not defined"

Im not used to build cb plugins, but i suppose those are enviroment variables but, which are their values?

Im running a etch debian with the 14th feb nightly build

Thanks in advance
Sorry, I have no debian.  :?

You need set those options into settings->global variables... and try it by yourself.

mmkider

#18
Trace bar v0.5

Modified -  change navigate icon.



[attachment deleted by admin]

MortenMacFly

Quote from: mmkider on April 24, 2009, 08:13:31 AM
Trace bar v0.5
Nice one... hence I guess it's time for me to report an annoyance (for me):
"STRG + cursor {left/right}" is usually defined to jump to the previous/next word in the word in the editor. This is common on many editors (applications) and OS'es. When TraceBar is active it "grabs" "STRG + cursor right" for it's purposes (what, actually?!).
This is not very convenient IMHO. Probably this shortcut should be configurable?!
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]

rhf

For what it is worth, I just thought I would add my opinion. I have used BrowseTracker for some time now and really like it. I have experimented briefly with TraceBar and like it also. I would like to see a single plugin providing the best features (in my opinion) of both. The toolbar and the Navigate functions of TraceBar and the View and Settings menus (with hot key assignments and Clear and Sort options) similar to that in BrowseTracker. Thanks to both of you guys.

mmkider

#21
I think this plugin be ignored configurable pane by me.
Maybe I can add menu items for navigate and  change shortcut key by keybinder.
Is it good or not?

Next version I will implement the thing that save position into the project file.

Thank you for your suggestions.

qiaozhifeng

it's really good, how coudl I download it.
I am a newer.

mmkider

Trace bar v0.6

Bug-fixed : If user add some bookmarks and delete first bookmark, then trace bar will crack.

[attachment deleted by admin]

alb_cb_moon

I download the source and build the dll, put it in the plugins folder, but cb not detect it; if I tray to use the Manage Plugins , it only search for files with cbplugin extension... how I can install your plugin?
OS: Windows XP SP2
GUI Library: wxWidgets 2.8.10
IDE: CodeBlocks SVN / Nigth Builds Compiler: MinGW & gcc 3.4.5

killerbot

I will test this out (windows and linux), and if all is well it could be added to contrib plug-ins

How about this : is this solved. I guess STRG == Ctrl key. Then the default behavior as described below in the quote should be retained, because that is what people are used too.
QuoteNice one... hence I guess it's time for me to report an annoyance (for me):
"STRG + cursor {left/right}" is usually defined to jump to the previous/next word in the word in the editor. This is common on many editors (applications) and OS'es. When TraceBar is active it "grabs" "STRG + cursor right" for it's purposes (what, actually?!).
This is not very convenient IMHO. Probably this shortcut should be configurable?!

blueshake

Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

mmkider

#27
Quote from: killerbot on September 10, 2009, 12:24:49 AM
I will test this out (windows and linux), and if all is well it could be added to contrib plug-ins

:D
I think this  plugin have three paramter to need be set.
1、Timer time.
2、Ignore lines.
3、Shortcuts key.

And maybe bookmark will be moved some lines by user or other, it need send msg to this plugin.

gaplee

hi, mmkider
how can i use it in windows?

gaplee