Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.3.0
-
None
-
ece400cfb634983e4e09227d81ec059a1dba1a19
Description
Steps:
1. Create qt quick application(build-in element).
2. Add a js file to the project.
3. add some code like
function Vector(x, y)
{
this.x = x;
this.y = y;
this.getX = function()
{ return this.x; }}
var v = new Vector(1,1);
var x = v.getX();
4. select getX() or v, right click the mouse to choose "Follow Symbol
Under Cursor". Does not work.
5. Only work for "new Vector(1,1)", so if supply "Follow Symbol Under Cursor"
for variable and function name will be more convenient for js programming.
Attachments
Issue Links
- resulted in
-
QTCREATORBUG-6098 QML code model should understand function return values and function arguments
- Closed
For Gerrit Dashboard: QTCREATORBUG-6094 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
4864,1 | QmlJS: Enable 'follow symbol' for local variables. | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |