swapping variable assignment speedkey or funktion?

Hi,

frequenlty I have to "reuse" some varibale-assignments into "the other direction"

i.e. in one part of the software I use blocks with sevelas assignments like:

settingsResponse->qrCodeEccLevel=gobd_settings.qrCodeEccLevel;

and in the other part I need the oposit assignments.

gobd_settings.qrCodeEccLevel=settingsResponse->qrCodeEccLevel;

This can be very time-consuming and fiddly...

I wonder if there is a refactoring function, speedkey, intention or whatever to simplify such basic task...?

 

Please sign in to leave a comment.