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

qmllint: add fixed warning ids

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0 Beta1
    • 6.3, 6.4, 6.2
    • QML: Tooling

    Description

      Currently our warnings are rather free-form. We should consider giving them ids (either numbers or names):

      The advantage would be that they

      1. allow you to
        have a table with more details like https://doc.qt.io/qtcreator/creator-checking-code-syntax.html#javascript-and-qml-error-codes,
      2. can be parsed in an IDE if you add them as a special JSON field
        and lastly,
      3. would even allow some dedicated pages like doc.qt.io/qmllint/issues/<ID> with a description of the issue and a recommended way how to fix them (basically, a better version of 1)

       

       

      For prior art, see https://doc.rust-lang.org/error-index.html for how Rust does it

      Attachments

        Issue Links

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

          Activity

            People

              max.goldstein Maximilian Goldstein
              fabiankosmale Fabian Kosmale
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes