08 julho 2009

Replacer

One of the reasons I create this blog is to publish some smart small tools I built to make my fellows lives, and mine of course, easier.

The most useful of such tools is Replacer.

Replacer is a search and replace tool I built back in 2006 when I couldn’t find any such tool in the Internet that could make the job the way we needed.

It is pretty simple to use and its main purpose is to search or replace, at the same time, several one line text blocks in all files that match the given filter criteria.

The main features of Replacer are:

  • Filter criteria to include and exclude files;
  • Classic search options like case sensitive and whole word only;
  • Search or replace several one line text blocks at the same time;
  • Possibility to ignore comment blocks;
  • Find only the first occurrency of the search text on each file;
  • Create backups before to replace;
  • Prompt a confirmation before each replacement;
  • In the result screen, highlight the word that contains the search text;
  • In the result screen, show the number of the row where the text was found.

The main limitations are:

  • Only one line text blocks can be used *;
  • One line comment blocks cannot be ignored, only blocks with a start and an end mark;
  • Not fully tested, maybe it doen’t work with some kind of files;

As said before, it was not tested to become a sellable product, so if you want to use it, you must consider that statement that says it is distributed ‘as is’, offers no warranty and must be used by your own risk.

Replacer.zip

Hope you enjoy!

* I’ve started to work in a version that supports multiple line blocks, but it has introduced some bugs, so I’ll not publish it yet.

Nenhum comentário:

Postar um comentário