I really like the functionality of the VA Toolset "Move Implementation to Source File" - great feature! Thanks for it! Starting with a header file, implement something and then, move it to a (non existent) source file really improves my workflow.
Lets say I start with "JustAnotherClass.hpp" - as mentioned before, my .cpp file (JustAnotherClass.cpp) does not exist before and Visual Assist tells me: "Move Implementation to Source File failed to identify a suitable target source file. Would you like to run Create File?"
I confirm and a file (JustAnotherClass.cpp) is created... so far so good - but in the newly created file the include directive is #include "JustAnotherClass.h" and not #include "JustAnotherClass.hpp"
This is not particularly bad but in the long run somewhat disturbing.
Yes, we code!
Edited by - WolfgangVogl on Jul 15 2019 07:20:25 AM
The file template for Create Source File is rather brain dead and includes the ".h" extension directly in the template. Until we expand upon the Create Source File functionality, you can edit the "Create Source File" snippet and add "pp" if that is a better default. VAssistX | Tools | Edit VA Snippets Change "Type" to "Refactoring" Find "Create Source File" Edit the snippet and press OK to save the changes