I found that the include path in cmake-includes.cmake for generated classes is
<ProjectDir>/Intermediate/Build/Linux/<SomeId>/<ProjectName>Editor/Inc/<ProjectName>
, while the actual path the file generated is <ProjectDir>/Intermediate/Build/Linux/<SomeId>/UE4Editor/Inc/<ProjectName>
This will made all generated files not found and all auto complete features are massed up.
I found a issue and it seem that this problem is there since 4.19.
Besides, even manually add the path to cmake will not work. There’s a misc.xml file marked Intermediate folder as “excluded”, I think this is a bug too.
It seems that UE4 team pay little attention on CLion…There’s not even a CLion tags…