Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: MortenMacFly on December 01, 2005, 08:34:38 pm

Title: New PlugIn: ReplaceInFiles (Mini-Refactoring)
Post by: MortenMacFly on December 01, 2005, 08:34:38 pm
I've attached a new plugin of mine that allows replace operations accross 1 up to all files in a project. It's very basic and it's based on http://forums.codeblocks.org/index.php?topic=1279.0 (http://forums.codeblocks.org/index.php?topic=1279.0) but it certainly seems to work.

Comments are welcome.

Morten.

Ps.: The functionality may be also intersting for the core of C::B. Not how I've done it but similar to "Find In Files"...
Pps.: I'm going to update the other plugin as well in a minute...

Edit: Removed initial version because an update is available.
Title: Re: New PlugIn: ReplaceInFiles (Mini-Refactoring)
Post by: MortenMacFly on January 25, 2006, 09:55:57 am
Attached is the updated plugin according to new API as of SVN revision 1808 and above.
Furthermore some enhancements concerning Unicode have been added.
Morten.

Ps.: Warning: Allthough I am using the plugin successfully I don't guarantee that this plugin is 100% working. Please always keep a backup of your sources.

Edit: Removed again because of unresolved issues. :(
Title: Re: New PlugIn: ReplaceInFiles (Mini-Refactoring)
Post by: MortenMacFly on February 22, 2006, 09:59:45 pm
Finally the update for the ReplaceInFiles plugin is ready. I've changed the code to work much better than before and to be Unicode compatible. Furthermotre the plugin is now compatible with the current SVN head. Find the update attached.
With regards, Morten.

[attachment deleted by admin]