[Qt-creator] feature request: smart replace

Thorbjørn Lindeijer thorbjorn.lindeijer at nokia.com
Thu Jan 22 10:39:41 CET 2009


ext Serge Ratke wrote:
> well, there you go,
> 
> here's the patch which implements smart replace :)
> 
> the behaviour is quite simple,
> 
> search for "foo" and replace it with "bar", so
> 
> Foo is replaced with Bar, foo is replace with bar, and FOO is replaced with BAR. in other
> cases, such as camelcase the replace method behaves as it used to in the past.
> 
> enjoy

Hello Serge,

That looks very nice!

Of course, this feature should be optional somehow. I read you already 
planned to place a checkbox somewhere. Maybe it would be possible to add 
this smart replace option (maybe "Preserve Case"?) together with the 
case sensitive and whole-word-only options in the little pop-up menu.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software



More information about the Qt-creator-old mailing list