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

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igor...@gmail.com
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #3 from Igor Kushnir <igor...@gmail.com> ---
This behavior is unfortunate and all but impossible to fix. KDevelop assigns a
language to a file based on its MIME type. A proper fix is to make the Shared
MIME-info Database distinguish C++ headers from C headers, but this cannot be
implemented reliably.

Fortunately, per-project Source Formatter configuration in Project settings has
been implemented several years ago. When a project does not contain plain-C
headers that have to be formatted differently, a workaround is to configure the
same formatter and style for both C and C++ languages.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to