Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97693

qmllint: Detect typos in properties/functions

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 6.4.0 Beta1, 6.4
    • 6.2
    • QML: Tooling
    • 2ffed97aac (qt/qtdeclarative/dev)

    Description

       

      Consider

      import QtQuick
      Item {
        width: 100
        hieght: 100
      }
      

      qmllint will warn about "hieght" not existing, which is true. It would however be helpful if we could search (e.g. via  Hamming distance) for a similarly named property that does exist ("Did you mean 'height' instead?").

       

      Attachments

        For Gerrit Dashboard: QTBUG-97693
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Vladimir Minenko Vladimir Minenko
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes