Clion Code Completion doesn't works

In main i have declared class.  But code completion doesn't work for class-member functions. After ctrl+space there show pop-up "no suggestions for members of Time".

I  noticed that if remove the line "add_executable" code completion works well. Of course i get CMake error that compilation target is not specified.

I reinstalled different versions of CLion three times but the problem remains. And this problem seems to be in every project having a class declared in main. 

My OS is Arch Linux 5.0.2

0
1 comment

Hello! Please provide a self-contained code sample illustrating the issue.

0

Please sign in to leave a comment.