Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22408

Qt Creator enforces Python syntax highlight onto Cython code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 4.9.0
    • Editors
    • None
    • Kubuntu 19.04
    • Linux/Wayland

    Description

      Qt Creator editor assumes *.pyx files must be highlighted as Python *.py files.

      By providing corresponding .xml file, Qt Creator highlight correctly YAML files, for instance. But even if we provide a specific (and much better) Cython highlight .xml file, it gets ignored it and keeps using the Python highlighter. Both .xml files work perfectly in the KDE Kate editor.

      I already tried to break up any Python association to .pyx files in the Environment -> MIME types to no avail.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            ivannaz Ivan Nazarenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes