Registered Member
|
Hello!
I apologize if this is not the place to be posting this. I normally use kwrite for C++ development. However recent events have seen me do a fair amount of Cuda development, and to my surprise kwrite & kate do not parse *.cu or *.cuh files as they normally do with *.h, *.hpp, *.hxx, etc. I read https://bugs.kde.org/show_bug.cgi?id=294695 where the last and only comment suggests that I can somehow associate *.cu with c++ mime types, and thus enable basic parsing of such files. Has anybody done it? If not, what would be the steps to do this? I've spent some time digging around SystemSettings & file associations, but this seems to be beyond me. Thanks to anyone who can help. |
Global Moderator
|
Go to Settings -> Configure -> Open/Save -> Modes & Filetypes. Select C/C++, and add the mimetypes and extensions you want to associate that highlighting style with.
Hope that works Greetings, Sven
I'm working on the KDevelop IDE.
|
Registered Member
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell