Code parsing / syntax highlighting for .inl-Files

Milian Wolff mail at milianw.de
Thu Jan 26 20:31:58 GMT 2012


On Thursday 26 January 2012 18:37:36 Oliver Schuppe wrote:
> Hi all!
> 
> I have a project with lots of .inl (Inline-) files. Unfortunately, the
> kdevelop syntax highlighter works only with .cpp and .h files but not
> with my .inl files. So, my .inl files are only highlighted by the kate
> highlighting scheme.
> Is there a possibility to enable parsing and highlighting of .inl files
> in kdevelop? If yes: how?

Make sure that KDevelop knows that it contains C++ code by associating a 
proper mimetype to it. You can do that in systemsettings -> file associations. 
Look for the text/x-c++src or x-c++hdr mimetype and add *.inl as filename 
pattern.

Cheers
-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the KDevelop mailing list