Refactoring with Move Implementation to Source File provides C/C++ users with a simple mechanism for moving the implementation of a method from a header to a source file. This refactoring is often invoked after refactoring commands that place implementations in the header for inline execution, e.g. Encapsulate Field.
Hover over the implementation of a method in a header and select Move Implementation to Source File from the refactoring menu.
A declaration is created in the header.
The implementation is moved to the appropriate source file, after other implementations of the same class.
Navigate after Move Implementation to Source File
Use the Navigate commands of Visual Assist to jump between the header and source after Move Implementation to Source File. Immediately after the move, Alt+Left returns you to the header. Alt+Right returns you to the implementation.
Move Implementation to Source File is not available for inline methods outside of a class definition.
Implementations of overloaded methods are moved near other overloads; they are not necessarily placed at the end of a class.
Modify the format of implementations by editing VA Snippets entries for Refactor Create Implementation.