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

Syntax highlighting does not work properly with function signatures in implementation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.7.0-beta2
    • Qt Creator 4.6.1
    • Editors
    • None
    • Qt 5.11.0

      Qt Creator 4.6.1

      Windows 10 TH2

      Linux (Ubuntu 18.04 [Bionic Beaver] with KDE)

      Intel Dual Core (2CPUs ~2.0GHz); 4GB RAM

    Description

      [Sorry my english]

      Hi. Syntax highlighting does not work properly with functions signatures in implementation. I configure the editor to show functions calls with regular dark blue colored font, so prototypes and signatures should have the same color sheme but in bold font. Well, he does not do that, instead it colored signatures in bold black font. I think there is another rule overriding this setting. This also happens in the implementation. This does not happens in previous versions of the IDE. I dont feel comfortable with this behavior.

      To recreate this behavior just configure the editor with a fanzy color sheme and create a new Qt Widget Project.

      PD: I usually program in Linux, but I make a try in Windows and is the same thing.

      Attachments

        1. Clang code model.png
          221 kB
          Carlos Pérez
        2. Example Code (C).png
          211 kB
          Carlos Pérez
        3. Syntax highlighting config (function).png
          133 kB
          Carlos Pérez
        4. Syntax highlighting config (function declaration).png
          124 kB
          Carlos Pérez
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            ceperez1996 Carlos Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes