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

Unify qmllint disable/enable comments with QML annotations and Qt Creator's @disable-check

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • 6.10
    • 6.4.3, 6.5.0 Beta3
    • QML: Tooling
    • None
    • All

    Description

      Qt Creator recognizes special comments such as "// @disable-check M300" in QML files to suppress certain code model warnings. qmllint has its own way to do the same. We also have QML annotations that are actually part of the language and could be used for this. There should only be one way to suppress warnings and it should be documented.

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              mikio_hirai Mikio Hirai
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes