Aptana Studio
  1. Aptana Studio
  2. APSTUD-2944

Not including user defined variables and functions in JS content assist

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High 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.

        Issue Links

          Activity

          Hide
          Ingo Muschenetz added a comment -

          Yes. It should be there

          Show
          Ingo Muschenetz added a comment - Yes. It should be there
          Hide
          Clayton Headley (Inactive) added a comment -

          Windows 7 32bit using build: 2.0.0.201203091910 - While following the instructions listed in the description the function fails to show up in the content assist before saving. The function does show up correctly in content assist after saving.

          Show
          Clayton Headley (Inactive) added a comment - Windows 7 32bit using build: 2.0.0.201203091910 - While following the instructions listed in the description the function fails to show up in the content assist before saving. The function does show up correctly in content assist after saving.
          Hide
          Chris Williams added a comment -

          Updated the description with better instructions on verifying the fix. I was able to verify locally.

          Show
          Chris Williams added a comment - Updated the description with better instructions on verifying the fix. I was able to verify locally.
          Hide
          Chris Williams added a comment -

          Please re-try with update steps in description.

          Show
          Chris Williams added a comment - Please re-try with update steps in description.
          Hide
          Clayton Headley (Inactive) added a comment -

          Verified fixed after retesting with Windows 7 and MacOS 10.3.7 using the updated steps. Closing ticket.

          Show
          Clayton Headley (Inactive) added a comment - Verified fixed after retesting with Windows 7 and MacOS 10.3.7 using the updated steps. Closing ticket.

            People

            • Assignee:
              Clayton Headley (Inactive)
              Reporter:
              Lukas Zboron
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development