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

Content Assist: Alloy: Objects from view xml are not shown in content assist inside a controller js file

    Details

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

      Tested On:
      Mac OSX 10.9.4
      SDK: 3.4.0.v20140911135715
      Studio: 3.4.0.201409112242
      CLI: 3.4.0-rc2
      Alloy: 1.5.0-rc
      Xcode: Xcode 6 GM seed

    • Sprint:
      2014 Sprint 19 Studio

      Description

      The content assist does not shown the objects created in the view xml file.

      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:
      The content assist does not come up and no objects from the xml file are shown in the content assist.

      Expected Result:
      Content assist should show objects from index.xml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                ssekhri Satyam Sekhri
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: