Created attachment 131950 [details] Example project using precompiled headers, note that std::cout and std::endl are not highlighted SUMMARY Headers which are being precompiled using CMake's `target_precompile_header` option are not parsed and result in broken syntax highlighting. STEPS TO REPRODUCE 1. Use functions / classes from a header in a source file 2. Configure the project to precompile the header 3. Open project with KDevelop and observe the syntax highlighting OBSERVED RESULT Objects defined in the precompiled headers are missing highlights and from the autocomplete. EXPECTED RESULT KDevelop ignores the precompiled headers and parses the included ones as normal. SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed 5.8.10 (available in About System) KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1
*** This bug has been marked as a duplicate of bug 407444 ***