On 4/4/23 08:14, Volodymyr Zibarov wrote:
The new feature in Qt Creator 10 is name validation during renaming a
symbol.
The old behavior without the validation made possible to make
refactoring tricks, like move variable into a struct, or replace
public member usage with a get method. For example:
name -> myStruct.name
name -> getName()
Let's add an option to disable name validation
That would be a server-side feature, and I don't think it will get
implemented.
A possible workflow for such tricks is to first properly rename the
symbol to something unique and then use the textual search/replace (and
it really *is* a textual replace, as the new content is not really a
symbol).
Christian
--
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator