Make sure you have those enabled from Visual Studio Installer:
If nothing works out, i recommend going for the IDE Rider:
-
Download Rider: JetBrains Toolbox App: Manage Your Tools with Ease
-
Open your project, Editor Setting > Source Code: Rider Uproject
-
From the editor > Tools > Add C++ class.
-
Open Rider directly from the editor:



