How to delete a C++ class

I finally got it back working. I right clicked the VRHalloweenHorror.uproject file and selected Edit (For me it was Open with Brackets) and deleted the whole module section (picture). And then I deleted the Saved folder, Intermediate folder and .Vs folder and all other Visual Studio files.