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

Invalid parentheses added to signal/slot names by autocomplete when using the Clang model

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt Creator 4.4.0-beta1
    • Qt Creator 4.2.0, Qt Creator 4.2.1, Qt Creator 4.3.0
    • C/C++/Obj-C++ Support
    • OSX 10.11

    Description

      Preconditions:

      • Clang model is enabled.
      • New signal-slot connection is used.

      Autocomplete not only completes the signal/slot name but also adds "()" when the suggested signal/slot is accepted in the pop-up with Enter key.

      See the attached screenshots for completion suggestion and wrongly added parentheses after accepting the suggested function. (In "autocomplete_suggestion.png" deleteLater is already inserted by the code model before accepting the suggestion because it was the only possibility based on the prefix.)

      Attachments

        Issue Links

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

          Activity

            People

              yvvan Ivan Donchevskii
              ckakman Kayra Akman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes