Replace-in-files

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
solipsistD
Posts: 5
Joined: Wed Dec 03, 2003 10:01 am

Replace-in-files

Post by solipsistD »

To compliment the find-in-files search, it would be useful to have a replace-in-files option. Particularly using RegExp options.

Now clearly you could do a _lot_ of damage using replace-in-files without due care and attention, but that is not a reason not to allow it; we are all responsible adults (and it is not as dangerous as Unix allowing you to run 'rm -r *' from the root folder - don't try this at home). If necessary you can display a dialog warning.

It is the sort of thing which can be useful when refactoring code (although Eclipse handles this very nicely if you are into Java). Also useful for updating changed path references, URL links etc.

I can see situations where it would be difficult to support an undo after a bad replace-in-files.

I'm surprised I can't find anyone else suggesting it. It is a feature available in UltraEdit-32 for example.
User avatar
ramonsky
Posts: 88
Joined: Fri Nov 14, 2003 10:54 am

Post by ramonsky »

It's possible this thread here might be what you want. (There's no poll though :( ).

Jill
Post Reply