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

does the have any papers or tutorials for plugin developers?

(1/2) > >>

coollofty:
Im very excited for found the Code Blocks, it is a great open source toolkit. But it seems that havent documents or toturials for developers, and the samples is too difficult to read because of the comments are too less  :(
So, I want to implement a compile and debug plugin but dont know where to start.

takeshimiya:
You might want to look here (a Work In Progress): http://forums.codeblocks.org/index.php/topic,1358.0.html :)

I'm curious, compiler and debugger of what language?

thomas:
There is a (kind of outdated) how-to in the WiKi, too.

The easiest way to get started writing a plugin is to use the plugin wizard. This will create a working, compilable minimum project, and you can fill in whatever you want. Most of the functions that you need to fill in (OnAttach, OnDetach, OnExecute, etc.)  are pretty much self-explanatory.
A profound knowledge about how wxWindows (especially event handling) works is recommended if you intend to write a plugin. If you are not firm in wx event handling, read http://www.wxwidgets.org/manuals/2.6.2/wx_eventhandlingoverview.html before starting.
It may also help to look how existing plugins work.

takeshimiya:
Note that the SDK Reference Manual includes the Creating a simple "Hello World" plugin from the WiKi.

You might want to look at the Compiler & Debugger plugins code.

But as thomas said, see the event handling of wxWidgets first if you don't know it.

coollofty:
Oh thanks:)
I wanna to improve the AngelScript(http://www.angelcode.com/angelscript), hehe, this is a good language I like it!

Navigation

[0] Message Index

[#] Next page

Go to full version