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

qmlls does not read .qmllint.ini

    XMLWordPrintable

Details

    • Linux/Wayland
    • 8cae0aeff (dev), c1524cf46 (6.8), 4d8f95fe7 (6.7)

    Description

      Downstream: https://github.com/seanwu1105/vscode-qt-for-python/issues/326 https://github.com/seanwu1105/vscode-qt-for-python/issues/323

      qmlls does not read .qmllint.ini . It only reads .qmlls.ini . This can be seen from the source code:

      ] ag settings tools/qmlls/qmllanguageservertool.cpp
      10:#include <QtQmlToolingSettings/private/qqmltoolingsettings_p.h>
      137:    QQmlToolingSettings settings(QLatin1String("qmlls"));
      165:    settings.addOption(buildDir);
      169:            QLatin1String("Writes defaults settings to .qmlls.ini and exits (Warning: This "
      170:                          "will overwrite any existing settings and comments!)"));
      173:    QCommandLineOption ignoreSettings(QStringList() << "ignore-settings",
      174:                                      QLatin1String("Ignores all settings files and only takes "
      176:    parser.addOption(ignoreSettings);
      182:    settings.addOption("no-cmake-calls", "false");
      187:        return settings.writeDefaults() ? 0 : 1;
      220:            (parser.isSet(ignoreSettings) ? nullptr : &settings));

      Attachments

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              tusooa tusooa tusooa
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes