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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes