Need help with using Unreal Engine on Ubuntu

I learned how to program in C/C++ back in 2006, I was a kid and was mainly interested in modifying video games to add more features, sometime during 2014 I had started playing with Unreal Engine 4 after getting my first real pay check. I never got around to doing more than making a small arena game for me and my friends that I was testing, because I got locked up for defending myself and family against an armed intruder.
Now I’m working toward a Bachelor’s in Software Engineering and Design, I’ve relearned C/C++ and some other languages that I used a couple of times, along with learning Python and Java. I recently converted to Ubuntu from Windows because of the slow load times and frustrating errors I was getting when trying to write simple programs. I use VS code version 1.90.1, for my programming and gcc or g++ version 11.4.0, for debugging and finally Unreal Engine version 5.4.1.

I can’t seem to delete c++ class objects that I want to scrap, but renaming them seems to be OK.

Steps taken

  1. Deleted the class files from the VS Code workspace generated by UE.
  2. Close both UE 5 and VS Code, and save progress.
  3. Check that the file has been deleted from the file system.
  4. Restart UE5 and open the VS Code.

The VS Code and file system shows no reference to the freshly made class object, but UE 5 shows the c++ class in the content browser. I followed the istructions of this page, to delete Binaries, Intermediate, etc. When I try to open the project now, I’m being told by prompts to rebuild from source.
I’m not 100% familiar with UE 5, can I rebuild the project from the VS Code files?

Please let me know what to expand on or take screen shots of.