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

Tip lightbulb hides closing bracket in specific case

    XMLWordPrintable

Details

    Description

      Closing bracket is hidden in specific case when tipping lightbulb shows next to it.

      Steps to reproduce:
      0) enable Clang code model and Clang static analyzer
      1) make new project with code example
      2) place cursor in the end of line 349
      3) remove ] and type it again
      Result: bracket is shown but then it is hidden after analyzer recognizes incomplete statement. It appears again if I move cursor away.
      Expected result: bracket is shown on it's place.

      Code: attached.

      Attachments

        1. Capture.PNG
          Capture.PNG
          11 kB
        2. main hiding bracket at line 290.cpp
          13 kB
        3. main.cpp
          13 kB
        4. Capture.PNG
          Capture.PNG
          6 kB

        Issue Links

          Activity

            People

              yvvan Ivan Donchevskii
              none P B
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: