Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator editor - can not activate Cython syntax highlight
Ivan Nazarenko last edited by
In current Qt Creator I could not set Cython (extensions="*.pyx") highlight even after:
1 - Tools -> Options -> Text Editor -> Generic highlighter, setting the folder there to one with the two files:
For yaml the syntax highlight started working here. But *.pyx cython files still were highlighted as "python".
2 - In Tools -> Options -> Environment -> MIME Types, I dissociated *.pyx files from anything. It was previously associated with python.
And the editor still highlights just as python. Kate, for instance, highlights correctly, so the xml seems correct.
Is there a way to enable Cython highlighting in Qt Creator?
(note: the above xml for cython is trivial to google from its own file name)