Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-105

Coloring is not correct when having object as property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 1.1.0
    • 1.1.0
    • QML/QtQuick support
    • None
    • Windows
    • 588250efc (dev)

    Description

      The following code will reproduce the issue: 

      import QtQuick 2.12
      Item {
          id: root
          property var data: Rectangle {
              id: data
          }
          property var foo: Rectangle {
              id: foo
          }
          Component.onCompleted: {
              console.log("Hello, World!")
          }
      }

      In VS Code it looks like:

      The property foo and Component.onCompleted are not colored correctly. 

      Attachments

        For Gerrit Dashboard: VSCODEEXT-105
        # Subject Branch Project Status CR V

        Activity

          People

            bencho Ben Cho
            yduan Yuchu Duan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes