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

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 2.4.0
    • Qt Creator 2.3.0
    • Quick / QML Support
    • 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

          For Gerrit Dashboard: QTCREATORBUG-6094
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes