Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.12.4
-
None
-
62e7d7eb4918a1633cb3fb6b15cabaf5a9f297f8 (qt-creator/qt-creator/master)
Description
A common CMake convention is to name files that are inputs to configure_file as file.ext.in that configures the output file file.ext
But when I open a file like foo.h.in Qt Creator tells me that that "A highlight definition was not found for this file." It seems like Qt Creator should be smart enough to use the same highlight definition as if I opened foo.h.
The workaround right now is to manually go to Options > Environment > MIME Types and add an additional .xxx.in extension in the right place, but this is annoying to have to do every time a new file type is used as a configure_file input.
Attachments
For Gerrit Dashboard: QTCREATORBUG-24465 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
315319,2 | Editor: Highlight cmake configure_file input files | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |