Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
How to develop a new plugin?
(1/1)
Дмитро:
Kind all day and night!
I want a plugin that would edit and remove stray '\ 302' in programs and so on and so on.
I have no idea how to plug. I do not know how to use plugins. How is it better that such a plug-in?
BlueHazzard:
a possible start to develop a plugin is to create a plugin project with the wizard. This will give you a start.
Then you should read the plugin development things in the wiki. There is written quite a lot that can help you.
Also a lot help is if you start reading the code of existing plugins. What i can read from your post you want to create a plugin that searches for text and replaces it. Then i would read the source code of the incrementalsearch plugin: https://sourceforge.net/p/codeblocks/code/HEAD/tree/trunk/src/plugins/contrib/IncrementalSearch/
this plugin is not so big, so you can read and understand the code about it.
If you simply want to replace/remove all '\ 302' characters, why don't you simply use search and replace for this?
[Edit:] This ticket will help you if you want to debug your plugin: https://sourceforge.net/p/codeblocks/tickets/481/
Ronnachai:
If it does not change the plugin to replace the old is a better solution offline.
Navigation
[0] Message Index
Go to full version