1.可能是VAX的问题
考虑
- 选项页选中新添加的.h .cpp文件
- 选中 menu中 File下拉菜单中
- 将....h,......cpp移入解决方案
- 选择解决方案移入
- 拖到合适位置
参考:https://answers.unrealengine.com/questions/178848/47-added-classes-not-showing-in-solution-explorer.html
2.可以考虑一下步骤,刷新一下vs project
- add c++ in project
-
Build solution
-
Close VS
-
In the editor File->Refresh VS Project
-
File->Open VS
-
Give it 5-10 seconds to rescan files
参考:https://answers.unrealengine.com/questions/14354/intellisense-activation.html