Rename C++ File
Just a quick question. Let's say I have a file called MyClass.ccp and MyClass.h in the VS Solution. If I rename those files, Unreal Engine auto regenerate the project and I lose my changes...
what is the workflow to rename class files?
asked Oct 01 '14 at 07:52 PM in C++ Programming
If you want rename .cpp/.h files in Visual Studio, just do it, they will become renamed on disk, not only in project.
If you want to remove files from Visual Studio project, you must do it outside of Visual Studio, manually, using Windows Explorer. Because if you remove files only in Visual Studio, they will not be deleted from disk and GenerateProjectFiles.bat will include that files to project again and again.
If you want add new files to Visual Studio project, best way to do this is to open your project in Unreal Editor and use Edit->AddCodeToProject.
answered Oct 01 '14 at 11:41 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here