Download

how do I delete c++ class in then ue4 and vs2015

how do I delete c++ class in then ue4 and vs2015 ?

Remove from project folder;
right click .uproject and click “generate vs files”

It’s the safest way IMO

thanks,but I not see it,I can generate vs files,but no delete button in the ue4

Delete the files on your filesystem, and then run ‘generate project files’ and reopen the solution.

Just make sure the files are not within ‘Source’ folder… and optionally delete the file from the project file.
All CPP/H files are picked up bu UBT (Unreal Build Tool) regardless of whether they are added to project file or not.