Author Topic: New PlugIn: ReplaceInFiles (Mini-Refactoring)  (Read 4386 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
New PlugIn: ReplaceInFiles (Mini-Refactoring)
« 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 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.
« Last Edit: February 22, 2006, 10:06:34 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: New PlugIn: ReplaceInFiles (Mini-Refactoring)
« Reply #1 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. :(
« Last Edit: January 25, 2006, 10:02:43 am by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9606
Re: New PlugIn: ReplaceInFiles (Mini-Refactoring)
« Reply #2 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]
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ