[Qt-creator] feature request: smart replace

Serge Ratke dev.serge.ratke at gmx.de
Wed Jan 7 22:24:29 CET 2009


hi devs,

it'd be nice if the text replace method would become somewhat smarter in a  
way i'll describe below :)

let's say you're searching for "foo", now there are several matches in the  
document:

#define FOO_H

class Foo {
	Foo *foo;
};

so you see the same string with alternating upper-/lowercase. now if i'd  
say to replace the string "foo" with the string "bar" i'd like to see the  
following:

#define BAR_H

class Bar {
	Bar *bar;
};

notice how the upper-/lowercase is preserved!

greetings

-- 
Serge Ratke



More information about the Qt-creator-old mailing list