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

Alloy XML Closing tag issue when modifying using completion assistance

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Titanium Studio 3.1.0
    • Fix Version/s: None
    • Component/s: Alloy, Content Assist
    • Environment:

      TiStudio: 3.1.0.201303182358

      Description

      Problem

      When changing an XML tag in an Alloy project and using code completion assistance, the old closing tag it's not deleted.

      Example

      <Alloy>
      	<Window>
      		<TableView></TableView>
      	</Window>
      </Alloy>
      

      Starting from the sample here, add 'R' to the TableView tag (in order to create a TableViewRow instead) and trigger the code completion assistance. <TableViewRow> is automatically chosen from the options.

      Result:

      <Alloy>
      	<Window>
      		<TableViewRow></TableViewRow></TableView>
      	</Window>
      </Alloy>
      

      TableView closing tag is still there and has to be removed manually.

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              fcasali Federico Casali
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: