Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6930

Content Assist: Alloy: Show Object instance methods for $

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: Release 4.0.0
    • Component/s: Content Assist
    • Environment:

      Tested On:
      SDK: 3.4.0.v20140913174915
      Studio: 3.4.0.201409131030
      CLI: 3.4.0-rc3
      Alloy: 1.5.0-rc2
      Xcode: Xcode 6 GM seed

    • Story Points:
      8
    • Sprint:
      2014 Sprint 19 Studio, 2014 Sprint 20 Studio

      Description

      The content assist does not shown Object instance methods for $ in controller files.

      This is a regression as the issue does not occur in studio 3.3.0

      Steps to Reproduce:
      1. Create an Alloy project
      2. Copy the below xml code in index.xml

      <Alloy>
      	<TabGroup id='tabgroup'>
      		<Tab id='tab1'>
      			<Window class="container">
      				<View id='view'>
      					<Label id="label">Hello, World</Label>
      					<Button id="button" onClick="doClick">Click</Button>
      				</View>
      			</Window>
      		</Tab>
      	</TabGroup>
      </Alloy>
      

      3. In the index.js file, type '$' followed by '.' to show content assist with objects from index.xml

      Actual Result:
      Content assist shows the ids from the view as properties off $, but nothing like toString() or isPrototypeof().

      Expected Result:
      Content assist should show Object instance methods for $, such as isPrototypeOf() and toString().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                smishra Sujeet Mishra
                Reporter:
                ssekhri Satyam Sekhri
                Reviewer:
                Christopher Williams
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: