LanguageController extension cache fails for system includes without extension

Milian Wolff mail at milianw.de
Mon Mar 7 21:24:14 UTC 2011


Hey all, esp. David.

It seems like the extension cache in the LanguageController needs some love or 
get removed. It prevents proper parsing for system includes without extensions 
(e.g. cstddef, ...). I wonder why we didn't spot this sooner...

https://bugs.kde.org/show_bug.cgi?id=267877

Imo the only solution to this is: get rid of the code preventing KMimeType to 
look into the file... If there is no extension, the contents is all we have...

I understand you had issues with kdevelop trying to parse data folders or 
something like that in your project. Imo the correct solution would be to 
somehow ignore these, maybe even just by adding a .kdev_ignore file to the 
data folder. Bonus points for proper UI integration of course.

Bye
-- 
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: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110307/6333f249/attachment.sig>


More information about the KDevelop-devel mailing list