QtCreator and C-syntax highlighting.
-
Hi.
I have the file extension *.c, for example, with this content:
main.c
[code]
struct class {
// fields
};
[/code]When you open this file in QtCreator: File->Open file or project,
editor complains "wrong type specifier" and underlines the inscription struct classI understand that he does not like the keyword "class", but file has the extension *.c and not *.cpp !
In C this is not a keyword.Tell me, can I somehow disable this behavior for C-like files?
-
If you want the developers behind Qt Creator to see this, report it on "Jira":http://qt-project.org/contribute. This forum is not frequently visited by Qt devs.