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

Split preprocessor highlight rules for keywords, definitions and using

    XMLWordPrintable

    Details

    • Platform/s:
      All
    • Commits:
      9cbe2439dd (qt-creator/qt-creator/8.0) 9cbe2439dd (qt-creator/qt-creator/master) 9cbe2439dd (qt-creator/tqtc-qt-creator/8.0)

      Description

      Description

      Now there's only one rule to configure preprocessor macro color.
      What I suggest is to split it to multiple preprocessor highlight rules:

      1. preprocessor keywords (such as #if, #ifdef, #define, #pragma)
      2. preprocessor macro definitions (the name of my macro right after #define)
      3. preprocessor macro usings (where my macro is used, not defined)

      Current highlight:

      Suggested highlight:

      I think it would be super convinient for users to see defference in preprocessor highlight.

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-23548
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            sirotin Igor Sirotin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes