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

Handing double-colon `:` when completing existing property names in QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.15.1
    • None
    • All

    Description

      Qt Creator suggests inconvenient / breaking things when changing existing properties in QML: it presents a list of available properties, and inserts them together with extra double-colon which was already there. It results in two double-colons in the code which breaks syntax.

      Preferred solution

      Detect double-colon on the right side of a cursor (in case of multiple active cursors, detect for each one individually), and don't insert new one if it's already there.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              ratijas ivan tkachenko
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes