Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: coollofty on November 12, 2005, 05:52:24 pm

Title: does the have any papers or tutorials for plugin developers?
Post by: coollofty on November 12, 2005, 05:52:24 pm
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.
Title: Re: does the have any papers or tutorials for plugin developers?
Post by: takeshimiya on November 12, 2005, 06:15:33 pm
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?
Title: Re: does the have any papers or tutorials for plugin developers?
Post by: thomas on November 12, 2005, 06:22:02 pm
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.
Title: Re: does the have any papers or tutorials for plugin developers?
Post by: takeshimiya on November 12, 2005, 06:58:20 pm
Note that the SDK Reference Manual includes the Creating a simple "Hello World" plugin (http://wiki.codeblocks.org/index.php/Creating_a_simple_%22Hello_World%22_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.
Title: Re: does the have any papers or tutorials for plugin developers?
Post by: coollofty on November 14, 2005, 01:21:52 pm
Oh thanks:)
I wanna to improve the AngelScript(http://www.angelcode.com/angelscript), hehe, this is a good language I like it!
Title: Re: does the have any papers or tutorials for plugin developers?
Post by: thomas on November 14, 2005, 01:38:49 pm
Wait a moment, you were talking about a debuger plugin, and now  about Angelscript.
You do not mean to add Angelscript support to Code::Blocks? That's done.