On Thursday 18 August 2011 20:23:32 ext Cristian Tibirna wrote: > I tried this new feature and I find it very interesting and useful. > > I believe, though, that an uniformization or integration with the other > refactoring tools would render this feature even more useful. > > I.e., instead of the lightbulb to be the only way of getting to this > feature (and require a mouse), perhaps it would be useful to activate a > menu entry in the contextual menu associated with refactoring (and perhaps > in > Tools/C++/Refactor).
Note that you don't need to use the mouse to use it: Just press enter. However, I agree in principle. I'm thinking about adding a quick-fix operation to explicitly synchronize signatures after the change has already happened. It can't be as smart as the current functionality (you'll have to manually select the target for overloads), but should still be pretty useful. > Problems exists presently, also, with polymorphic functions. It would be > rather complex to explain, but trying to play a bit with the > synchronization tool in the case of polymorphic functions will easily help > you see what I mean. > > (The "add definition for new declaration" refactoring tool also has > problems with polymorphic functions, thus probably it is a lack of > infrastructure in the QtCreator core code (sorry, my level of the > QtCreator code is still quite low)). I've tried it with virtual functions but've seen no problems. Please open a bug report! Cheers, Christian _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
