Qt5/Mac header finding in KDevelop5 (clang parser??)

René J.V. Bertin rjvbertin at gmail.com
Thu Jun 23 21:40:07 UTC 2016


On Thursday June 23 2016 16:12:46 Milian Wolff wrote:

> LGTM, you also want to fixup cpp.xml in katepart to resolve the highlighting 
> issue.

Doesn't work?! I only found regexps that seem relevant in c.cpp and isocpp.cpp:

      <context attribute="Error" lineEndContext="#pop" name="AfterHash">
        <RegExpr attribute="Preprocessor" context="Include" String="#\s*(?:include|include_next)" insensitive="true" firstNonSpace="true" />

but adding the import keyword ("#\s*(?:include|include_next|import)" has no effect, not when I reinstall KTextEditor, not when I make the edit also in the xml files in ~/.local/share/katepart5/syntax.

I must be overlooking something again?

R.



More information about the KDevelop-devel mailing list