Unable to find c++ class in content drawer

I recently started a C++ gameplay programming course and one thing he does is create a C++ actor class via tools and then grabs it from content drawer. However, when I create the class it opens up in visual studio and compiles but does not appear in the drawer. Blueprint classes work though. any idea why? I checked and Show C++ classes is set to true.

Did you restart the editor? Preferably proceeded with “Generate Visual studio project files” option.

Otherwise the editor will try to use dreaded live coding feature or whatever it’s called now. For more info take a look here

https://blog.nstar.dev/Unreal-Engine/Live-Coding