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

Lack of namespace highlighting

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P4: Low
    • Qt Creator 7.0.0
    • Qt Creator 4.1.0-rc1, Qt Creator 4.12.0-beta1
    • C/C++/Obj-C++ Support
    • All platforms

    Description

      I noticed the lack of syntax highlighting support in Qt Creator for namespace names, and decided to tweak things a little bit. The attached diffs adds this enhancement to the C/C++ editor options. The diffs currently set the default to Qt::darkGreen, but I would recommend keeping it to the default text color (or maybe it's TypeUse), so that the existing behavior is unchanged.

      It would be great to have this included into the source for Qt Creator, and possibly added to any unit tests that can exercise this functionality.

      Thanks!

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            deepsterblue Sandeep Menon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes