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

Editor shows yellow triangles when Clang code model is active

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.1.0-beta1
    • C/C++/Obj-C++ Support
    • Linux, XCB, Qt 5.6, EGL, kwin, focus follows mouse

    Description

      When the Clang code model plugin is active, the text editor shows yellow triangles to the left of the line numbers, on some lines.

      There must be a reason why they're shown, but it's not apparent. If there's a way to get more information from them, it's not evident or discoverable. I tried clicking on them, but that simply sets a breakpoint. I tried right-clicking it and it shows options that don't differ from every other line (breakpoint, message tracepoint, bookmark).

      Update

      There should be a red underline somewhere on that line, but it doesn't show. That's a problem with the font.

      Even after switching to a font that shows the underline, hovering over the marked symbol still shows no information.

      This would be very useful if the warnings are all shown in the Issues panel so It can be found
      at one place without opening each file in turn?

      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
              thiago Thiago Macieira
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes