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

Qt Creator enforces Python syntax highlight onto Cython code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: Qt Creator 4.9.0
    • Fix Version/s: None
    • Component/s: Editors
    • Labels:
      None
    • Environment:
      Kubuntu 19.04
    • Platform/s:
      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

            • Assignee:
              davschul David Schulz
              Reporter:
              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