-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.5.0, Qt Creator 4.11.1
-
None
-
6989c9bbeae1403b8c1733bdae784841369cb8ce (qt-creator/qt-creator/master)
I created a KATE syntax file for the proprietary XML+Ruby format we use. I tested out the file with KWrite and it works fine. However, Qt Creator did not use the new syntax highlighter.
The extension of our files is .rb.xml. This "conflicts" with the normal XML syntax, which uses .xml. KWrite had no problem matching my rule instead of the system rule. I'm not sure if it's just because my syntax file is in my directory instead of the system directory or because .rb.xml is "more specific" than .xml.
Qt Creator should use the same logic as other KATE apps when matching syntax files.