Code::Blocks Forums

User forums => Help => Topic started by: rickg22 on November 05, 2009, 05:24:39 pm

Title: Suggestion for Search and Replace: Multi-line S&R, and other stuff.
Post by: rickg22 on November 05, 2009, 05:24:39 pm
Hi all! I forgot my berlios account so I'll post here.

Often I've found myself having to switch between "Search path" and "Project files" when searching for a string in multiple files.

I'd like to have an option to restrict S&R (or search only) to certain file extensions (or path), but still restricting the search to project files or open files.

Also, I've been noticing a potential feature that would give C::B an incredible market share: Multi-line search and replace.

Recently I've been having to remove dreamweaver templates from around 400 files. I've had to do a multi-line regex search, but since C::B doesn't allow me to match multiple lines, I've had to do it with a PHP script (for use with PHP-CLI). Since writing scripts is cumbersome, I'd rather have C::B to have multi-line search and replace (with regex, of course) in multiple files.

Thanks!
Title: Re: Suggestion for Search and Replace: Multi-line S&R, and other stuff.
Post by: ollydbg on November 05, 2009, 05:34:57 pm
Hi all! I forgot my berlios account so I'll post here.
:D.

Did you mean the "thread search" plugin? or the dialog opened by "ctrl + F" ?
Title: Re: Suggestion for Search and Replace: Multi-line S&R, and other stuff.
Post by: blueshake on November 06, 2009, 01:17:59 am
I would like if the search dialogue box could be modelless  like what notepad++ does.