Qt Creator editor - can not activate Cython syntax highlight



  • 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:
    cython-numpy-mode-kate.xml
    yaml.xml

    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)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.