Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Plugins development
»
How to develop a new plugin?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How to develop a new plugin? (Read 9086 times)
Дмитро
Multiple posting newcomer
Posts: 107
How to develop a new plugin?
«
on:
May 03, 2017, 01:56:38 pm »
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?
Logged
BlueHazzard
Developer
Lives here!
Posts: 3353
Re: How to develop a new plugin?
«
Reply #1 on:
May 06, 2017, 10:06:25 am »
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/
Logged
Ronnachai
Single posting newcomer
Posts: 2
Re: How to develop a new plugin?
«
Reply #2 on:
October 16, 2017, 12:45:39 pm »
If it does not change the plugin to replace the old is a better solution offline.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
Developer forums (C::B DEVELOPMENT STRICTLY!)
»
Plugins development
»
How to develop a new plugin?