News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

GIT Interation plug-in

Started by Shreder, November 25, 2009, 06:49:22 PM

Previous topic - Next topic

Shreder

Hello all,

I what to make plug-in for interaction of C:B with http://git-scm.com/

I'm use C:B since 2006 but never try to extends it. I need to start with this soon as possible.
So does anybody can get me an links to some documentation (not outdated) or complete lite C:B plug-in sample that good commented and really works?

Thanks

ollydbg

Firstly, you can try the wiki page:

Creating a simple "Hello World" plugin - CodeBlocks

or you can check out the codeblocks SVN code, then try to read any plugins in cb_svn\src\plugins\contrib

they are really not hard to read. :D

You can learn how to :

add a menu
add a toolbar
use the build in editor
access to project manager
do every thing you want
....

quite easy. :D
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.