Force Qt Creator to use a syntax highlighting for asm files
-
Hi,
Currently syntax highlighting for my *.asm files doesn't work despite that I put nasm.xml (here it is: https://github.com/ricardodovalle/config-qtcreator/blob/master/qtcreator/generic-highlighter/nasm.xml ) in /opt/Qt5.3.0/Tools/QtCreator/share/qtcreator/generic-highlighter. It's strange because highlighting for all others extensions like bash and xml works very well. I use Qt Creator 3.1.1 under Ubuntu 13.10. Any suggestions? -
Finally I managed to resolve problem myself:) It turned out that nasm.xml had broken mimetype value. Changing mimetype from empty value to mimetype="text/x-asm" solves issue.
-
Hi and welcome to devnet,
Glad you found out and thanks for sharing the solution !
Since you have it working now, please update the thead title prepending [solved] so other forum users may know as solution has been found :)