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

clang code model stops working properly on a file

    XMLWordPrintable

Details

    • macOS

    Description

      This has been an issue for many versions.

      Seemingly randomly, the clang code model stops working properly for a file.

      Things like highlighting and refactoring no longer work properly.

      The attached image shows my cursor is over the "pixmap" variable (for 1+ minute), but as you can see, instances of the "filename" variable are still highlighted.

      If I try to refactor a variable in this state, it will modify the variable I'm changing, but not any of the other references.

      The GIF shows this. I try to refactor the "pixmap" variable, but it doesn't modify any of the references.

      The only way I've found to fix this is to close and reopen the file.

      Attachments

        1. no_refactor.gif
          4.75 MB
          Bradley Tse
        2. Screen Shot 2021-07-21 at 22.17.09.png
          86 kB
          Bradley Tse

        Activity

          People

            kandeler Christian Kandeler
            btse Bradley Tse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: