Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-1735

Autocompleting variables in imported JS files does not work

    XMLWordPrintable

Details

    • 123607ad70e62ad8caa9bdfe705a7aa394778679

    Description

      Have the following file, foo.js:

      var myvar = "i'm a js var"

      Have qml file bar.qml:

      import Qt 4.7
      import "foo.js" as Stuff

      Item {
      objectName: Stuff.myvar
      }

      When typing Stuff.myvar, autocompletion is not triggered for the JS variables. However, the code works when executed.

      Attachments

        Activity

          People

            ckamm Christian Kamm
            holmsted Lasse Holmstedt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: