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

Only one character underlined for error found by Clang Code Model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.6.0
    • C/C++/Obj-C++ Support
    • None
    • Windows 7 64 bit

      1. Enable the ClangCodeModel plugin and restart Creator.
      2. In "Tools" -> "Options..." -> "C++" -> "Code Model", enable the Clang Code Model.
      3. Create a new Plain C++ Project.
      4. Make the include invalid by changing the desired filename.
        Clang will detect the error but only underline the "<":

      When there's an error in the code, the whole line should be underlined. With Creator's built-in code model, this works correctly.

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

            kosjar Nikolai Kosjar
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes