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

Suggestion for required property creates invalid code

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 7.0.1
    • Quick / QML Support
    • None

    Description

      I edit a qml file. I like to add a required property. There are two different observations:

      1. The required keyword has no suggestions
      2. After I type "required pro", I wait until I get the suggestion "property". After I accept the suggestion, I get the line "required property type name: value". This leeds to invalid code, since a required property cant have a default value.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            fettpet Sev Dw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes