Class doesn't display in editor

I created some C++ classes in my project but one of them isn’t appearing in the editor when I open Unreal.

Does anyone know what is going on?

Actually, I inserted them by the editor, but it’s not showing. How can I do this ‘Generate’?

*I’m new to coding with C++. Just used blueprints untill now.

If you added the files yourself then you need to Generate Project Files again.

After making a new C++ Class you need to close the UE4 editor, then “rebuild” from Visual Studio (or whatever you’re using).

After the “rebuild” is successful, you can go back to the UE4 editor and click “Compile” (this may not be necessary but I like to)

Once that’s finished, you want to make sure you’re looking at the C++ content (it’s separate from the Blueprint content in the Content Browser)

After all of that is finished, you need to make sure to “Compile” from the UE4 editor every single time you make changes to the new C++ class