CLion 2018.1 indexer fails to resolve headers


Marking one of the directories in the Project View as "Library Files" does not result in header file from this directory included in another source file (which resides in another directory marked as "Project Sources and Headers") to be resolved.

CLion 2018.1
Build #CL-181.4203.549, built on March 26, 2018
Licensed to CLion Evaluator
Expiration date: May 10, 2018
JRE: 1.8.0_152-release-1136-b20 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.16.2-300.fc28.x86_64

1 comment
Comment actions Permalink


I can't reproduce the described behavior:

The "new" folder is marked as "Library Files", the "new2" folder is marked as "Project Sources and Headers". The a.h header is resolved from a.cpp.

Do I miss something?


Please sign in to leave a comment.