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

Not including user defined variables and functions in JS content assist

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Aptana Studio 3.0.2
    • Fix Version/s: Aptana Studio 3.1.0
    • Component/s: Content Assist, JS
    • Environment:

      SpringSource ToolSuite 2.7.0
      Aptana Studio 3 eclipse plugin
      Windows 7

    • Story Points:
      0

      Description

      Variables and functions defined by user are not shown in code assist. They are also not displayed in outline.

      Steps to recreate problem:
      1. create blank js file
      2. open it with JavaScript Source Editor
      3. Paste following sample code:

      function foo() {
          var eight = 8;
      }
      
      

      4. on empty line after function, invoke content assist by pressing ctrl + space

      Only items from JS core are displayed. There are no items from current file. Attached file shows displayed content assist. "foo" should be one of the proposals, but is not.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cheadley Clayton Headley
                Reporter:
                lzboron Lukas Zboron
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code