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

qt-qml extension doesn't honour qt-qml.qmlls.additionalImportPaths

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.3.0
    • QML/QtQuick support
    • None
    • Linux/X11

    Description

      I'm using the pre-release version of qt-qml (1.3) and found that the setting "qt-qml.qmlls.additionalImportPaths" is not honoured.

       

      I've added additional import paths via vscode UI, which writes a setting such as:

      "qt-qml.qmlls.additionalImportPaths": [
          "/some-path1/","/some-path2/"] 

      Restarted vscode and watched qt-qml logs, which say:

      [qmlls] Starting QML Language Server with:--verbose;I/sources/proj/build/ 

      I don't have any .qmlls.ini file interfering 

      Also regardless of any setting, it seems to always put my build directoty dir, how does it know, did it cache it somewhere  (I've had a .qmlls.ini in the past) ?

       

       

      Attachments

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

        Activity

          People

            qtvscodeteam Qt VS Code
            sergio.luis Sergio Martins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes