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

QML autocomplete corrupts code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.3.0
    • Quick / QML Support
    • None
    • MacOS 10.12.5

    Description

      When writing QML code in the editor, when selecting autocomplete option (I use up/down arrows, then enter), sometimes it corrupts the code by placing the autocomplete text and deleting about 15 characters before and about 15 characters after. It takes 2 undos to get back to my partially completed line of code.

      It seems to only happen on autocomplete to the right of a colon, in the binding statement, but this might be luck. i.e. if I'm typing `anchors.margins: myConstants.myMarginConstant` then I've not seen it have a problem with selecting `anchors` or `margins` but I see it with selecting `myMarginConstant`.

      Attachments

        Issue Links

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

          Activity

            People

              mabenell Marco Benelli
              paulmasri Paul
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes