Parsing of *.inl files

Milian Wolff mail at milianw.de
Mon Apr 22 20:31:43 BST 2019


On Samstag, 20. April 2019 20:09:08 CEST Mathias Kraus wrote:
> Hello together,
> 
> for a long time I thought KDevelop can't handle a split of template classes
> in *.h and *.inl files, but recently I noticed that it sometimes parses the
> files correctly and shows all the information. With just three files in a
> project, the parsing works if the *.inl file is the one shown at startup
> and doesn't work if one of the others are shown at startup.
> 
> Before I write a bug report I would like to investigate it further and maybe
> also write a patch if someone could give me a hint where to start with
> debugging.

What do you get for `kmimetypefinder5 -f foo.inl`? Probably nothing, so fire 
up `kcmshell5 filetypes` and add `*.inl` as pattern to the `text/x-c++src` 
mimetype. That should solve this issue, I hope.

Cheers

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190422/e8af1049/attachment.sig>


More information about the KDevelop-devel mailing list