Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-902

[JS] CA doesn't work for variables passed as parameter in anonymous functions

    Details

      Description

      1. Create a new Web Project
      2. Create a new empty JS file
      3. Select Commands->jQuery->Edit this bundle. This will create a new jQuery project in your workspace
      4. Open the new jQuery project
      5. Expand the support directory
      6. Copy-drag the jquery.1.4.2.sdocml file from the support directory into the project you created initially
      7. Place the following content in your JS file

        (function($) {</p>
          $().|
        })(jQuery);
        

      8. Place your cursor where the '|' is in the JS file
      9. Force content assist

      It is expected that you will see a number of entries coming from jQuery, including add, addClass, after, etc.

        Attachments

          Activity

            People

            • Assignee:
              klindsey Kevin Lindsey
              Reporter:
              snop snop
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code