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

The code auto-completion does not work in the preprocessor macro

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 6.0.2
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      The variable name does not auto-complete on Ctrl+Space when it is used inside preprocessor macro. The sample code to reproduce this error:

      #define PRINT( number ) std::cout << number

      { uint32_t number = 12; PRINT( number ); }

      Attachments

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

        Activity

          People

            kandeler Christian Kandeler
            kmy Mikhail Kopysov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes