I have lots of header files with long method implementation inside.
Is there An automatic way of doing that?
One-by-one can take a lot of time...
Thanks.
I have lots of header files with long method implementation inside.
Is there An automatic way of doing that?
One-by-one can take a lot of time...
Thanks.
If you are using Visual Studio, there's an add-in called Visual Assist that can help you to do this. I'm using it at work and it is really helpful.
Unfortunately this add-in is not free but you can install the trial to do your stuff and test it.
Ctrl + .
and then choosing Move definition location
. –
Adjudication In Eclipse CDT its combination is Alt+Shift+T
KDevelop has such ability too:
Right click to the method -> Refactoring -> Move to cpp
There's a free version of DevExpress Refactor! for C++ that has two automatic 'refactorings' that may suit your needs:
© 2022 - 2024 — McMap. All rights reserved.