Search code examples
c++refactoringautomated-refactoring

C++ Refactoring - Move method to implementation file


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.


Solution

  • 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.