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

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes