Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: mmkider on January 09, 2009, 04:41:58 pm
-
Hi all:
I implement TraceBar for tracing source.
What is TraceBar?It is BookMark+Navigate.
I reface old BookMark plugin and add new feature(navigate).
http://forums.codeblocks.org/index.php/topic,9531.0.html
Now source code of tracebar is more clear than before.
See Image.
(http://mmkider.googlepages.com/TraceBar.PNG)
Best Regards.
[attachment deleted by admin]
[attachment deleted by admin]
-
I tested it.
What a great job you do! :D.
Especially, you add two button "Navigate Backward" and "Navigate Forward". They just work like I press "ALT + left Arrow" and "ALT + right Arrow".
Thank you for your effort!
-
I tested it.
What a great job you do! :D.
Especially, you add two button "Navigate Backward" and "Navigate Forward". They just work like I press "ALT + left Arrow" and "ALT + right Arrow".
Thank you for your effort!
ya
but how to set "ALT + left Arrow" for toolbar without wxmenu ?
I have no idea.
-
C::B has internally implement this.
When I press" Alt + left Arrow", there is a small box prompt like this:
(http://forums.codeblocks.org/index.php?action=dlattach;topic=9886.0;attach=3012)
Then the caret will go to the last edit position.
[attachment deleted by admin]
-
C::B has internally implement this.
When I press" Alt + left Arrow", there is a small box prompt like this:
(http://forums.codeblocks.org/index.php?action=dlattach;topic=9886.0;attach=3012)
Then the caret will go to the last edit position.
I know it.
But "For me" it is not easy to use.
-
Two problem:
1、GotoLine need be changed to GotoPos(but compare with line).
2、set range (+line, -line)for record (Navigate).
If I have some time, I wiil patch it.
I fix some issue and change compare order for speed.
But compare number of range is const(+4, -4 line).
-
I tested it, but I found there are two bookmarks menu on Edit. see the screen shot below.
[attachment deleted by admin]
-
I tested it, but I found there are two bookmarks menu on Edit. see the screen shot below.
Because In my computer I had deleted the bookmark code of codeblocks source.
and I add bookmark menu in the tracebar.
:?
-
Trace bar v0.4
Fixed - forward and backward capability is to lose efficacy for bookmark and navigate after editting the text.
-
Two problem:
1、GotoLine need be changed to GotoPos(but compare with line).
2、set range (+line, -line)for record (Navigate).
If I have some time, I wiil patch it.
_______________________________________________________
* removed non english content *
Jens
-
Two problem:
1、GotoLine need be changed to GotoPos(but compare with line).
2、set range (+line, -line)for record (Navigate).
If I have some time, I wiil patch it.
_______________________________________________________
* removed non english content *
Jens
gone
-
Where can I obtain this plugin latest code?
-
Where can I obtain this plugin latest code?
Scrolling your mouse slowly, you will find it.
:lol:
-
I found compiled and source of this plugin. :lol:
But, 2 more questions:
1. It can't generate TraceBar.zip at post-build, although my zip command work well in command shell.
2. With the dll and zip compiled, how can I register this plugin.
I navigate to "Plugins->Manage Plugins-> Install New" but it ask for the *.cbplugin file that I haven't seen in TraceBar project.
Thanks.
-
I pack the TraceBar.dll (built on my machine, if use yours CB will provide an version uncompatible error) and TracBar.zip into TraceBar.cbplugin zip file, then it can be loaded and navigate back and forth.
Thank you very much :D
-
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
-
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.
-
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.
-
Trace bar v0.5
Modified - change navigate icon.
[attachment deleted by admin]
-
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?!
-
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.
-
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.
-
it's really good, how coudl I download it.
I am a newer.
-
Trace bar v0.6
Bug-fixed : If user add some bookmarks and delete first bookmark, then trace bar will crack.
[attachment deleted by admin]
-
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?
-
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.
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?!
-
hi, killerbot.
ollydgb has done some modefication for this plugin.
see this thread.http://forums.codeblocks.org/index.php/topic,10919.msg75543.html#msg75543 (http://forums.codeblocks.org/index.php/topic,10919.msg75543.html#msg75543)
-
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.
-
hi, mmkider
how can i use it in windows?
-
i cann't see the attachment why?
-
i cann't see the attachment why?
Because attachments get deleted frequently, because they are stored on our server.
If someone wants to keep it, he/she should use a filesharing service or start a project at berlios, google-code or a similar service.
-
See this Posts.
;D
http://forums.codeblocks.org/index.php/topic,13396.0.html
-
And where i can download TraceBar? Or it's a part of last Code::Blocks buld? Can you give me a link, i can't find it :(
-
And where i can download TraceBar? Or it's a part of last Code::Blocks buld? Can you give me a link, i can't find it :(
The feature was all in browse tracker plugin, which is a part of C::B.