Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator editor - can not activate Cython syntax highlight

Qt Creator editor - can not activate Cython syntax highlight

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 458 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Ivan Nazarenko
    wrote on last edited by
    #1

    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)

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved