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

ClangCodeModel: Proposal widget displays code snippet where not applicable

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • set QC's codemodel to use ClangCodeModel
      • open tests/manual/cplusplus-tools project
      • inside main.cpp find the method testCompleteSymbols()
      • place cursor onto line
        //    Dummy::s
        
      • uncomment the line and trigger auto-completion of this expression

      Current result:

      • Proposal widget displays "switch" snippet

      Note: this wasn't displayed (at least) until QC 3.3

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes