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

CMakeLists color highlighting make some text invisible in dark themes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.1
    • Qt Creator 4.7.0-rc1, Qt Creator 4.7.0
    • Editors
    • None
    • Ubuntu 18.04
      QtCreator 4.7 from Qt binaries
    • Linux/X11
    • 19c109a076844f71818a08196b76902fb94587b0

    Description

      With QtCreator 4.7, some text in CMakeLists files seems not recognized by color highlighting and default to black which is an issue on dark themes (especially "Qt Creator Dark").

      It seems to affect suffixes of CMake variables beginning with an underscore.

      For example:

      ${PROJECT_NAME}_node
      

      The "_node" will not be visible, see the following screenshot:

      The same line with "Default" theme:

      And on QtCreator 4.6 with "Qt Creator Dark" theme:

      Attachments

        Activity

          People

            davschul David Schulz
            rreignier Romain Reignier
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: