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

Regression in C++ Code Model: error in expression prevents all its symbols from being interactive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • Qt Creator 4.7.0-beta2, Qt Creator 4.7.1, Qt Creator 4.8.0-beta1
    • C/C++/Obj-C++ Support
    • None

      This issue was introduced somewhere after Qt Creator 4.7.0-beta1 (4.6.82) | Built on Mar 21 2018 05:24:41, probably due to a new version of clangbackend? Not only symbols of such expressions can't be followed (F2) it also prevents some context-related auto-completion suggestions to appear, comparing to older versions of Creator. It's pretty important, because when you type an expression it is not always valid until you type the every last bit of it.

      As another side effect, that is a regression from 4.6: symbols under cursor are not highlighted, even in 4.7.0-beta1 (4.6.82).

       

      All examples attached as images.

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

            kosjar Nikolai Kosjar
            greenscape Paul
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes