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

Content Assist: add content assist proposals to inferred object init values

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Titanium Studio 2.1.1
    • Fix Version/s: None
    • Component/s: Content Assist
    • Environment:

      Titanium Studio: 2.1.1
      Titanium SDK: 2.1.1
      OS: Mountain Lion

      Description

      when an object initializer is used for a known property type, it would be helpful to have content assist proposals for the generic init object.

      currently content assist proposals are only generated for the init object if it is the argument of a tiobject create method.

      test steps:

      1. enter code in app.js:

      var tab = Ti.UI.createTab({
      	window : {
      		
      	}
      });
      

      2. click inside of the window init object window :

      { <here> }

      3. activate content assist (i.e., control + space)

      expected result:

      window properties should populate the content assist menu

      actual result:

      currently tab properties populate in the menu because that is the highest level known object type

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: