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

__FILE__ breaks variable highlighting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • Qt Creator 2.8.0-rc
    • C/C++/Obj-C++ Support
    • None
    • Windows 8 64Bit
      QtCreator compiled with Qt5.1

    Description

      #include <stdio.h>
      
      int main()
      {
          int quite_a_long_name = 42;
          printf("%s %d", __FILE__, quite_a_long_name);
          return 0;
      }

      See the attached screenshot.

      Attachments

        1. highlight.png
          highlight.png
          10 kB
        2. macro-highlight.png
          macro-highlight.png
          8 kB
        3. macro-highlighthing-mwe.png
          macro-highlighthing-mwe.png
          4 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes