Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: mmkider on November 12, 2008, 05:08:16 pm
-
I trace source code, I often have to jump to the previous steps or the next steps.
So I create a plugin for the purpose.
The behavior of this plugin behavior simulate the bookmark in the vc2005.
It will record the orders of toggle bookmarks and jump to other file by previous bookmark or next bookmark.
as follow
tool1: toggle bookmark
tool2: previous bookmark
tool3: next bookmark
tool4: clear all bookmarks
(http://mmkider.googlepages.com/Bookmarks.PNG)
-
This is a great plugin.
I successfully build the plugin.
But I found that in the project option, this is some script to zip the output to a relative directory.( I nearly can't find the output files, because I haven't put the source in the "codeblockssource\..."
zip -jq9 ..\..\..\devel\share\codeblocks\Bookmarks.zip manifest.xml *.xrc
zip -Rq9 ..\..\..\devel\share\codeblocks\Bookmarks.zip images\*.png images\16x16\*.png
So, I should manually copy the DLL and Zip file to the destination. And it works! Great! Thanks.
There is another thing I could mention. It seems that I can't "save" the bookmarks when I close the whole project. This is the same as setting breakpoints.
So, If both bookmarks and breakpoints could be saved, it is Greater! :D
Anyway, Thanks for your effort and sharing!
-
This is a great plugin.
I successfully build the plugin.
But I found that in the project option, this is some script to zip the output to a relative directory.( I nearly can't find the output files, because I haven't put the source in the "codeblockssource\..."
zip -jq9 ..\..\..\devel\share\codeblocks\Bookmarks.zip manifest.xml *.xrc
zip -Rq9 ..\..\..\devel\share\codeblocks\Bookmarks.zip images\*.png images\16x16\*.png
So, I should manually copy the DLL and Zip file to the destination. And it works! Great! Thanks.
There is another thing I could mention. It seems that I can't "save" the bookmarks when I close the whole project. This is the same as setting breakpoints.
So, If both bookmarks and breakpoints could be saved, it is Greater! :D
Anyway, Thanks for your effort and sharing!
I release new version.
see
http://forums.codeblocks.org/index.php/topic,9886.0.html
-
Ok, I will try it. :D