Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.14.0-rc1
-
None
Description
i have *.inc files which are generated c sources. i obviously want the editor to highlight them accordingly.
i didn't find a dedicated option for that, so i tried extending the patterns accepted by the text/x-csrc mime type. that didn't help - the dropdown with available highlight definitions inside the notification at the top of the editor pane doesn't show c. i suppose this may be due to the fact that c isn't handled by the generic highlighter, and the special case is not handled properly.
note that the code model apparently parsed the file correctly - its symbols are known to the locator.