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

"Follow Symbol Under Cursor" should work for variable and function name in js file.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 2.4.0
    • Qt Creator 2.3.0
    • Quick / QML Support
    • None
    • ece400cfb634983e4e09227d81ec059a1dba1a19

      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.

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

            ckamm Christian Kamm
            liuuxlii Liu LI
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes