Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.0.0
-
None
-
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.