Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] User survey: More CDT Refactorings - toggle function definition/namespace refactorings

Hi,

Probably updating all the call sites is not a goal of this refactoring. Qt Creator changes only signatures in hpp/cpp [1] and it is quite useful. Not sure how it processes virtual and pure virtual functions in base and derived classes, but they could be updated too.

[1] - http://doc.qt.digia.com/qtcreator/creator-editor-refactoring.html


Regards,
Anton.

-------- Original message --------
> **Any (great) ideas on what cases to support (wrt overloading) for "change function signature" and how to make it usable in the UI are appreciated.

What about simply walking the user through all the call sites
and giving them a chance to edit each one manually? This
would already be an improvement over the status quo,
where you do 'Find References' to find all the call sites and
then manually go to each one to edit it (and of course, you
have to remember to do the 'Find References' *before* you
change the signature, otherwise it  won't find anything).

Regards,
Nate




_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top