News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

New PlugIn: ReplaceInFiles (Mini-Refactoring)

Started by MortenMacFly, December 01, 2005, 08:34:38 PM

Previous topic - Next topic

MortenMacFly

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.next.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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

#1
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. :(
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]