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

Autocompleting variables in imported JS files does not work

XMLWordPrintable

    • 123607ad70e62ad8caa9bdfe705a7aa394778679

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes